/* ========================================
   D.S.H共創ラボ LP — v3 Rich Modern Design
   Ref: repittebeauty.cnctor.jp

   Key: 大胆な余白 / 太ボーダー / 立体シャドウ / グラデーション
   Color: Deep Blue #1B3A5C + Teal #2BBAA0 + Cream #FBF9F6
   Font: Inter (numbers) + Noto Sans JP (all Japanese)
   ======================================== */

:root {
  --bg: #FBF9F6;
  --bg-alt: #F3EFE9;
  --bg-tint: #EAF6F3;
  --white: #FFFFFF;
  --dark: #1B3A5C;
  --dark-soft: #2A4A6C;
  --text: #1C2D3F;
  --text-sub: #5A6B7D;
  --text-muted: #8E99A4;
  --teal: #2BBAA0;
  --teal-light: #4FDBC4;
  --teal-pale: #E0F7F2;
  --teal-dark: #1F9A85;
  --gold: #C5A55A;
  --gold-pale: #F8F0DC;
  --accent-pink: #FFF0F3;
  --border: #D8D2C8;
  --border-light: #EDE8E0;
  --shadow-card: 0 6px 0 var(--dark);
  --shadow-soft: 0 4px 24px rgba(27,58,92,0.08);
  --shadow-md: 0 8px 32px rgba(27,58,92,0.1);
  --shadow-lg: 0 16px 48px rgba(27,58,92,0.12);
  --shadow-float: 0 20px 60px rgba(27,58,92,0.15);
  --radius: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: 'Noto Sans JP', sans-serif;
  --font-num: 'Inter', 'Noto Sans JP', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: all 0.35s var(--ease);
  --gradient-cta: linear-gradient(135deg, #2BBAA0 0%, #1B9E8A 100%);
  --gradient-dark: linear-gradient(135deg, #1B3A5C 0%, #2A5A8C 100%);
  --gradient-hero: linear-gradient(160deg, #FBF9F6 0%, #EAF6F3 40%, #FBF9F6 100%);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 680px; margin: 0 auto; padding: 0 32px; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }
::selection { background: var(--teal-pale); color: var(--text); }
.sp-only { display: none; }

/* ===== Animations ===== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem;
  padding: 16px 36px; border-radius: 40px; border: none;
  cursor: pointer; transition: var(--transition); text-decoration: none;
}

.btn-sage {
  background: var(--gradient-cta); color: var(--white);
  box-shadow: 0 4px 16px rgba(43,186,160,0.3);
}
.btn-sage:hover {
  transform: translateY(-3px); color: var(--white);
  box-shadow: 0 8px 28px rgba(43,186,160,0.4);
}

.btn-sage-sm {
  background: var(--gradient-cta); color: var(--white);
  padding: 10px 24px; font-size: 0.85rem; border-radius: 40px;
}
.btn-sage-sm:hover { opacity: 0.85; color: var(--white); }

.btn-sage-outline {
  background: transparent; color: var(--teal);
  border: 2px solid var(--teal); border-radius: 40px;
}
.btn-sage-outline:hover { background: var(--teal); color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 2px solid var(--border); border-radius: 40px;
}
.btn-ghost:hover { border-color: var(--dark); }

.btn-lg { padding: 20px 48px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: var(--transition);
}
.header-scrolled {
  background: rgba(251,249,246,0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-light); padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo-dsh { font-family: var(--font-num); font-size: 1.4rem; font-weight: 800; color: var(--dark); letter-spacing: 0.04em; }
.logo-sub { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.1em; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-sub); font-size: 0.85rem; font-weight: 500; }
.nav-links a:hover { color: var(--dark); }

.hamburger { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--dark); position: absolute; left: 0; transition: var(--transition); }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
  background: var(--bg); z-index: 2000; padding: 100px 40px 40px;
  display: flex; flex-direction: column; gap: 0; transition: right 0.5s var(--ease);
}
.mobile-nav.active { right: 0; }
.close-nav { position: absolute; top: 28px; right: 32px; background: none; border: none; color: var(--text); font-size: 2rem; cursor: pointer; font-weight: 300; }
.mobile-nav-link { color: var(--text); font-size: 1.2rem; font-weight: 600; text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--border-light); display: block; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding: 140px 0 120px; overflow: hidden;
  background: var(--gradient-hero);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('img/hero-dental.jpg') center/cover no-repeat; opacity: 0.06;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 50%, var(--bg) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }

.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.3em; color: var(--teal);
  margin-bottom: 24px; text-transform: uppercase; font-weight: 700;
  background: var(--teal-pale); padding: 6px 16px; border-radius: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.4;
  margin-bottom: 24px; color: var(--dark); letter-spacing: -0.02em;
}

.hero-line { width: 48px; height: 3px; background: var(--gradient-cta); margin-bottom: 24px; border-radius: 2px; }

.hero-sub { font-size: 0.95rem; color: var(--text-sub); line-height: 2; margin-bottom: 20px; }

.hero-quote {
  font-size: 0.9rem; color: var(--dark); font-weight: 600;
  margin-bottom: 40px; padding: 14px 20px;
  background: var(--white); border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-soft);
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust {
  display: flex; align-items: center; gap: 20px;
  font-size: 0.78rem; color: var(--text-muted); font-weight: 500;
}
.hero-trust-divider { width: 1px; height: 14px; background: var(--border); }

/* ===== Section Common ===== */
.section-label {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.25em; color: var(--teal);
  text-transform: uppercase; font-weight: 700; margin-bottom: 16px;
  background: var(--teal-pale); padding: 5px 14px; border-radius: 16px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.5;
  margin-bottom: 20px; color: var(--dark); letter-spacing: -0.01em;
}

.section-desc { font-size: 0.92rem; color: var(--text-sub); line-height: 2; max-width: 560px; }

/* ===== Pain Points ===== */
.pain-section { padding: 0; }
.pain-editorial { display: grid; grid-template-columns: 1fr 1px 1fr; min-height: 80vh; }
.pain-left { padding: 120px 60px 120px 0; display: flex; flex-direction: column; justify-content: center; }
.pain-divider-line { background: var(--border); }
.pain-right { padding: 120px 0 120px 60px; }
.pain-items { display: flex; flex-direction: column; }

.pain-item {
  padding: 32px 0; border-bottom: 1px solid var(--border-light);
  display: flex; gap: 20px; align-items: flex-start; transition: var(--transition);
}
.pain-item:first-child { padding-top: 0; }
.pain-item:last-child { border-bottom: none; }
.pain-item:hover { padding-left: 8px; }

.pain-num { font-family: var(--font-num); font-size: 0.85rem; color: var(--teal); min-width: 24px; font-weight: 700; padding-top: 2px; }
.pain-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.pain-item p { font-size: 0.85rem; color: var(--text-sub); line-height: 1.8; }

.pain-image { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; }
.pain-image img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-lg); }

.pain-conclusion {
  margin-top: 40px; padding: 28px; background: var(--teal-pale); border-radius: var(--radius-lg);
  border: 2px solid var(--teal); position: relative;
}
.pain-conclusion p { font-size: 1rem; color: var(--teal-dark); font-weight: 700; line-height: 1.7; }

/* ===== Philosophy ===== */
.philosophy-section {
  background: var(--gradient-dark); color: var(--white);
  padding: 140px 0; position: relative; overflow: hidden;
}
.philosophy-section::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  border-radius: 50%; background: rgba(43,186,160,0.08);
}
.philosophy-inner { max-width: 620px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.philosophy-section .section-label { background: rgba(43,186,160,0.2); color: var(--teal-light); }
.philosophy-section .section-title { color: var(--white); }
.philosophy-body { margin-top: 36px; }
.philosophy-body p { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 2.2; margin-bottom: 24px; }
.philosophy-body strong { color: var(--white); }
.philosophy-highlight { color: var(--teal-light); font-weight: 700; }

/* ===== Challenges ===== */
.challenges-section { padding: 120px 0; background: var(--bg-alt); }

.challenges-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }

.challenge-card {
  background: var(--white); border: 3px solid var(--dark);
  border-radius: var(--radius-xl); padding: 36px 28px;
  box-shadow: 0 6px 0 var(--dark); transition: var(--transition);
}
.challenge-card:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--dark); }

.challenge-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 20px; padding-bottom: 16px; }
.challenge-red { border-bottom: 3px solid #E57373; color: #C62828; }
.challenge-orange { border-bottom: 3px solid #FFB74D; color: #E65100; }
.challenge-blue { border-bottom: 3px solid #64B5F6; color: #1565C0; }

.challenge-data { margin-bottom: 20px; }
.challenge-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.challenge-stat { background: var(--bg); border-radius: var(--radius); padding: 14px; text-align: center; }
.challenge-stat-label { display: block; font-size: 0.72rem; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.challenge-stat-val { display: block; font-family: var(--font-num); font-size: 1.4rem; font-weight: 800; color: var(--dark); }
.challenge-stat-sub { display: block; font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }
.challenge-stat-single { background: var(--bg); border-radius: var(--radius); padding: 18px; text-align: center; }
.challenge-big-num { display: block; font-family: var(--font-num); font-size: 2.2rem; font-weight: 800; color: var(--dark); line-height: 1.2; letter-spacing: -0.03em; }

.challenge-points { list-style: none; }
.challenge-points li { font-size: 0.82rem; color: var(--text-sub); padding: 5px 0 5px 18px; position: relative; line-height: 1.7; }
.challenge-points li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ===== DSH Method ===== */
.method-section { padding: 120px 0; }

.method-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; }

.method-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 18px; transition: var(--transition); text-align: center;
}
.method-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-md); }

.method-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 800; font-size: 0.9rem;
  margin: 0 auto 14px; color: var(--white);
}
.method-card-1 .method-num { background: #1565C0; }
.method-card-2 .method-num { background: #2E7D32; }
.method-card-3 .method-num { background: #E65100; }
.method-card-4 .method-num { background: #6A1B9A; }
.method-card-5 .method-num { background: #00838F; }

.method-card h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); line-height: 1.5; }
.method-card p { font-size: 0.78rem; color: var(--text-sub); line-height: 1.8; }
.method-highlight { display: inline-block; margin-top: 10px; font-size: 0.68rem; color: #E65100; background: #FFF3E0; padding: 3px 10px; border-radius: 12px; font-weight: 600; }

/* ===== Numbers ===== */
.numbers-section { padding: 72px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.numbers-strip { display: flex; justify-content: space-between; align-items: center; }

.number-item { text-align: center; flex: 1; padding: 0 16px; position: relative; }
.number-item + .number-item::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 48px; background: var(--border); }

.number-value { font-family: var(--font-num); font-size: 3rem; font-weight: 800; color: var(--dark); line-height: 1.1; letter-spacing: -0.03em; }
.number-unit { font-size: 1rem; color: var(--text-sub); font-weight: 500; }
.number-slash { font-size: 1.2rem; color: var(--text-muted); font-weight: 400; }
.number-label { font-size: 0.82rem; color: var(--text-sub); margin-top: 8px; font-weight: 500; }

/* ===== Product Zones ===== */
.product-section { padding: 120px 0 80px; }
.product-section-alt { padding-top: 0; padding-bottom: 120px; }

.product-zone { margin-bottom: 48px; }

.product-zone-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}

.product-zone-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 6px 16px; border-radius: 8px; text-transform: uppercase; flex-shrink: 0;
}

.product-badge-blue { background: #E3F2FD; color: #1565C0; }
.product-badge-teal { background: var(--teal-pale); color: var(--teal-dark); }

.product-zone-subtitle {
  font-size: 0.88rem; color: var(--text-sub); font-weight: 500;
}

.product-screenshots-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}

/* ===== Dashboard Showcase ===== */
.dashboard-showcase { margin: 60px 0; text-align: center; }

.dashboard-frame {
  background: var(--white); border: 3px solid var(--dark);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 6px 0 var(--dark); max-width: 960px; margin: 0 auto;
}

.dashboard-frame-bar {
  background: var(--dark); padding: 10px 16px;
  display: flex; align-items: center; gap: 6px;
}
.dashboard-frame-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.dashboard-frame-url { margin-left: 12px; font-size: 0.72rem; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.1); padding: 4px 14px; border-radius: 6px; flex: 1; text-align: left; font-family: var(--font-num); }
.dashboard-frame img { width: 100%; display: block; }
.dashboard-caption { margin-top: 16px; font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* ===== Services Scroll ===== */
.services-section { padding: 120px 0 80px; }
.services-header { margin-bottom: 56px; }

.services-scroll-wrapper {
  position: relative; margin: 0 -32px; padding: 0 32px;
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; scroll-snap-type: x mandatory;
}
.services-scroll-wrapper::-webkit-scrollbar { display: none; }
.services-scroll-wrapper::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 20px;
  width: 80px; background: linear-gradient(to right, transparent, var(--bg)); pointer-events: none;
}

.services-track { display: flex; gap: 20px; padding-bottom: 16px; width: max-content; }

.service-card {
  width: 300px; flex-shrink: 0; background: var(--white);
  border: 2px solid var(--border); border-radius: var(--radius-xl);
  padding: 36px 28px; scroll-snap-align: start; transition: var(--transition);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }

.service-card-num { font-family: var(--font-num); font-size: 0.78rem; color: var(--teal); letter-spacing: 0.15em; margin-bottom: 16px; font-weight: 700; }

.service-card-icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 20px;
}

.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); line-height: 1.5; }
.service-card-headline { font-size: 0.85rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 20px; flex: 1; }

.service-card-features { list-style: none; border-top: 1px solid var(--border-light); padding-top: 16px; }
.service-card-features li { font-size: 0.82rem; color: var(--text); padding: 5px 0 5px 18px; position: relative; }
.service-card-features li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.services-scroll-hint { text-align: center; margin-top: 28px; font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; }

/* ===== Detail Blocks ===== */
.service-detail-section { padding: 0 0 120px; }

.detail-banner {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 80px; height: 320px;
}
.detail-banner img { width: 100%; height: 100%; object-fit: cover; }
.detail-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(27,58,92,0.75) 0%, rgba(27,58,92,0.15) 100%);
  display: flex; align-items: center; padding: 0 60px;
}
.detail-banner-overlay p { font-size: clamp(1.2rem, 2.5vw, 1.7rem); color: var(--white); font-weight: 700; line-height: 1.6; max-width: 480px; }

.detail-block {
  display: grid; grid-template-columns: 5fr 4fr; gap: 72px;
  align-items: center; padding: 100px 0; border-top: 1px solid var(--border-light);
}
.detail-block-reverse { grid-template-columns: 4fr 5fr; }
.detail-block-reverse .detail-text { order: 2; }
.detail-block-reverse .detail-visual { order: 1; }

.detail-label { display: inline-block; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--teal); text-transform: uppercase; margin-bottom: 12px; font-weight: 700; background: var(--teal-pale); padding: 4px 12px; border-radius: 12px; }
.detail-title { font-size: 1.6rem; font-weight: 800; line-height: 1.5; margin-bottom: 16px; color: var(--dark); letter-spacing: -0.01em; }
.detail-desc { font-size: 0.92rem; color: var(--text-sub); line-height: 2; margin-bottom: 24px; }

.detail-features { list-style: none; }
.detail-features li { font-size: 0.88rem; padding: 10px 0; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 12px; }
.detail-features li:last-child { border-bottom: none; }
.detail-check { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-pale); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.7rem; font-weight: 700; }

.detail-visual-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* Chat demo */
.chat-demo { display: flex; flex-direction: column; gap: 10px; }
.demo-bubble { padding: 12px 18px; border-radius: 18px; font-size: 0.84rem; line-height: 1.6; max-width: 85%; }
.demo-ai { background: var(--teal-pale); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.demo-user { background: var(--bg-alt); color: var(--text); align-self: flex-end; border-bottom-right-radius: 4px; }
.demo-confirm { background: var(--gradient-cta); color: var(--white); font-weight: 600; align-self: flex-start; border-bottom-left-radius: 4px; }

.stats-row { display: flex; gap: 32px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.stat-value { font-family: var(--font-num); font-size: 1.8rem; font-weight: 800; color: var(--teal); }
.stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

/* SNS visual */
.sns-visual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sns-pill { background: var(--bg); border: 2px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--text); transition: var(--transition); }
.sns-pill:hover { border-color: var(--teal); background: var(--teal-pale); }
.sns-note { margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--text-muted); }

/* Avatar visual */
.avatar-visual { text-align: center; }
.avatar-flow-visual { display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; }
.avatar-step-box { background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); padding: 18px 16px; text-align: center; min-width: 100px; }
.avatar-step-box .step-icon { font-size: 1.4rem; margin-bottom: 6px; }
.avatar-step-box span { font-size: 0.78rem; color: var(--text); display: block; font-weight: 500; }
.avatar-arrow { color: var(--teal); font-size: 1.1rem; }

/* BO visual */
.bo-visual { background: var(--bg); border-radius: var(--radius); padding: 20px; }
.bo-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); font-size: 0.88rem; }
.bo-row:last-child { border-bottom: none; }
.bo-status-done { color: var(--teal); font-weight: 700; }
.bo-status-wip { color: var(--gold); font-size: 0.78rem; font-weight: 600; }
.bo-price { margin-top: 16px; text-align: center; font-size: 0.92rem; color: var(--text-sub); }
.bo-price strong { font-family: var(--font-num); font-size: 1.8rem; color: var(--teal); font-weight: 800; }

/* HR bars */
.hr-bars { display: flex; flex-direction: column; gap: 14px; }
.hr-bar-item { display: grid; grid-template-columns: 52px 1fr 32px; align-items: center; gap: 14px; }
.hr-bar-label { font-size: 0.82rem; color: var(--text-sub); font-weight: 500; }
.hr-bar-track { height: 8px; background: var(--bg-alt); border-radius: 4px; overflow: hidden; }
.hr-bar-fill { height: 100%; border-radius: 4px; background: var(--gradient-cta); }
.hr-bar-val { font-family: var(--font-num); font-size: 0.88rem; font-weight: 700; color: var(--teal); text-align: right; }

/* ===== Academy ===== */
.academy-section { padding: 120px 0; background: var(--gradient-dark); color: var(--white); }
.academy-section .section-label { background: rgba(43,186,160,0.2); color: var(--teal-light); }
.academy-section .section-title { color: var(--white); }
.academy-section .section-desc { color: rgba(255,255,255,0.55); }

.academy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; margin-bottom: 56px; }
.academy-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 24px; display: flex; gap: 16px; transition: var(--transition);
}
.academy-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }
.academy-card-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(43,186,160,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal-light); }
.academy-card-tag { font-size: 0.68rem; color: var(--teal-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; font-weight: 600; }
.academy-card h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; color: var(--white); line-height: 1.5; }
.academy-card-meta { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

.academy-flow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.academy-flow-step { text-align: center; padding: 14px 18px; }
.flow-num { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--teal-light); color: var(--teal-light); font-family: var(--font-num); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.flow-text { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.academy-flow-arrow { color: rgba(255,255,255,0.2); }

/* ===== Partners ===== */
.partners-section { padding: 120px 0; }
.partners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px;
}
.partner-cell {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px 24px; transition: var(--transition);
}
.partner-cell:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.partner-initial { width: 44px; height: 44px; border-radius: 12px; background: var(--gradient-cta); color: var(--white); font-family: var(--font-num); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.partner-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.partner-role { font-size: 0.75rem; color: var(--teal); margin-bottom: 14px; font-weight: 600; letter-spacing: 0.03em; }
.partner-desc { font-size: 0.82rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 14px; }
.partner-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.partner-tag { font-size: 0.68rem; color: var(--text-muted); padding: 3px 10px; border: 1px solid var(--border); border-radius: 8px; font-weight: 500; }

/* ===== Case Study ===== */
.case-section { padding: 120px 0; background: var(--bg-alt); }

.case-card {
  background: var(--white); border: 3px solid var(--dark);
  border-radius: var(--radius-xl); max-width: 820px; margin: 48px auto 0;
  overflow: hidden; box-shadow: 0 6px 0 var(--dark);
}
.case-header { background: var(--teal-pale); padding: 24px 36px; display: flex; align-items: center; gap: 20px; }
.case-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); flex-shrink: 0; box-shadow: var(--shadow-soft); }
.case-badge { display: inline-block; background: var(--gradient-cta); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 4px 14px; border-radius: 12px; margin-bottom: 4px; }
.case-clinic-name { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.case-clinic-meta { font-size: 0.78rem; color: var(--text-sub); }

.case-body { padding: 36px; }
.case-subtitle { font-size: 0.85rem; color: var(--teal); font-weight: 700; margin-bottom: 14px; letter-spacing: 0.05em; }

.case-challenge-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.case-challenge-row { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--text-sub); }
.case-num { width: 22px; height: 22px; border-radius: 50%; background: var(--bg); color: var(--teal); font-size: 0.68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.case-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.case-result-item { padding: 12px 16px; background: var(--bg); border-radius: var(--radius); }
.case-result-service { font-size: 0.85rem; font-weight: 600; margin-bottom: 3px; color: var(--dark); }
.case-result-status { font-size: 0.72rem; color: var(--teal); font-weight: 600; }
.case-note { font-size: 0.78rem; color: var(--text-muted); }

.case-roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.case-roi-item { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg); border-radius: var(--radius); font-size: 0.85rem; }
.case-roi-label { font-weight: 600; min-width: 72px; color: var(--text-muted); font-size: 0.78rem; }
.case-roi-before { color: var(--text-muted); text-decoration: line-through; font-size: 0.82rem; }
.case-roi-arrow { color: var(--teal); font-weight: 700; }
.case-roi-after { color: var(--teal); font-weight: 700; font-size: 0.88rem; }
.case-roi-summary { text-align: center; padding: 20px; background: var(--teal-pale); border-radius: var(--radius-lg); border: 2px solid var(--teal); margin-bottom: 12px; }
.case-roi-summary p { font-size: 0.95rem; color: var(--teal-dark); font-weight: 700; }
.case-roi-summary strong { color: var(--teal-dark); font-size: 1.1rem; }

/* ===== Target ===== */
.target-section { padding: 120px 0; }
.target-list { max-width: 640px; margin: 48px auto 0; }
.target-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-light); }
.target-row:last-child { border-bottom: none; }
.target-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-pale); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-size: 0.7rem; font-weight: 700; }
.target-row p { font-size: 0.95rem; color: var(--text); line-height: 1.7; }

/* ===== Pricing ===== */
.pricing-section { padding: 120px 0; background: var(--bg-alt); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }

.pricing-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px 28px;
  display: flex; flex-direction: column; transition: var(--transition); position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-featured { border: 3px solid var(--teal); box-shadow: 0 6px 0 var(--teal); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-cta); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 5px 20px; border-radius: 20px; }

.pricing-plan-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.pricing-plan-desc { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 20px; }
.pricing-amount { font-family: var(--font-num); font-size: 2.4rem; font-weight: 800; color: var(--dark); margin-bottom: 24px; letter-spacing: -0.02em; }
.pricing-amount span { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); }

.pricing-features { list-style: none; flex: 1; margin-bottom: 28px; }
.pricing-features li { font-size: 0.85rem; color: var(--text); padding: 7px 0 7px 20px; position: relative; }
.pricing-features li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* Pricing 4 columns */
.pricing-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.pricing-sub-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 12px;
  background: var(--bg); color: var(--text-muted); margin-bottom: 12px;
}

/* Back Office Tiers */
.bo-tiers {
  display: flex; flex-direction: column; gap: 12px; margin-top: 20px;
}
.bo-tier {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 18px; background: var(--white);
}
.bo-tier-full { border-color: var(--teal); background: var(--teal-pale); }

.bo-tier-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.bo-tier-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 12px; text-transform: uppercase;
}
.bo-tier-badge-light { background: var(--bg-alt); color: var(--text-sub); }
.bo-tier-badge-full { background: var(--gradient-cta); color: var(--white); }

.bo-tier-price {
  font-family: var(--font-num); font-size: 1.3rem; font-weight: 800;
  color: var(--dark); letter-spacing: -0.02em;
}
.bo-tier-price span { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

.bo-tier-name {
  font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px;
}
.bo-tier-desc {
  font-size: 0.8rem; color: var(--text-sub); line-height: 1.7; margin-bottom: 10px;
}
.bo-tier-link {
  display: inline-block; font-size: 0.8rem; color: var(--teal);
  font-weight: 600; text-decoration: none;
}
.bo-tier-link:hover { color: var(--teal-dark); text-decoration: underline; }

.pricing-amount-label {
  display: inline-block; font-size: 0.7rem; color: var(--text-muted);
  font-weight: 600; letter-spacing: 0.08em; margin-bottom: 4px;
  text-transform: uppercase;
}

.pricing-extras {
  margin-top: 56px; background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px 36px;
}
.pricing-extras-title {
  font-size: 1.05rem; font-weight: 800; color: var(--dark);
  margin-bottom: 8px; text-align: center;
}
.pricing-extras-desc {
  font-size: 0.82rem; color: var(--text-sub); text-align: center; margin-bottom: 28px;
}
.pricing-extras-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.pricing-extra-item {
  display: flex; gap: 14px; padding: 18px;
  background: var(--bg); border-radius: var(--radius);
}
.pricing-extra-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--teal-pale); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.pricing-extra-item h4 {
  font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 4px;
}
.pricing-extra-item p {
  font-size: 0.78rem; color: var(--text-sub); line-height: 1.7;
}
.pricing-extra-item p strong {
  color: var(--teal-dark); font-weight: 700;
}

.pricing-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 20px; line-height: 1.8; }

/* ===== Steps ===== */
.steps-section { padding: 120px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.step-cell {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px 24px; transition: var(--transition); text-align: center;
}
.step-cell:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.step-num { font-family: var(--font-num); font-size: 2.4rem; font-weight: 800; color: var(--teal-pale); margin-bottom: 16px; line-height: 1; }
.step-cell h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.step-cell p { font-size: 0.82rem; color: var(--text-sub); line-height: 1.8; }

/* ===== SEO Columns ===== */
.column-section { padding: 120px 0; background: var(--bg-alt); }
.column-articles { margin-top: 56px; }
.column-article { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 44px 0; border-top: 1px solid var(--border); }
.column-article:last-child { padding-bottom: 0; }
.column-num { font-family: var(--font-num); font-size: 2.8rem; font-weight: 800; color: var(--border); line-height: 1; }
.column-article h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; line-height: 1.6; color: var(--dark); }
.column-article p { font-size: 0.9rem; color: var(--text-sub); line-height: 2; margin-bottom: 10px; }
.column-article p:last-child { margin-bottom: 0; }

/* ===== FAQ ===== */
.faq-section { padding: 120px 0; }
.faq-list { max-width: 700px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; text-align: left; color: var(--text); font-size: 0.95rem;
  font-family: var(--font); font-weight: 600; transition: var(--transition);
}
.faq-question:hover { color: var(--teal); }
.faq-question:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.faq-icon { font-size: 1.2rem; color: var(--teal); transition: var(--transition); flex-shrink: 0; margin-left: 20px; font-weight: 400; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-open .faq-answer { max-height: 400px; }
.faq-open .faq-icon { transform: rotate(45deg); }
.faq-answer-inner { padding-bottom: 22px; font-size: 0.88rem; color: var(--text-sub); line-height: 2; }

/* ===== Contact ===== */
.contact-section { padding: 120px 0; background: var(--gradient-dark); color: var(--white); }
.contact-inner { max-width: 580px; margin: 0 auto; text-align: center; }
.contact-section .section-label { background: rgba(43,186,160,0.2); color: var(--teal-light); }
.contact-section .section-title { color: var(--white); }
.contact-section .section-desc { color: rgba(255,255,255,0.5); margin: 0 auto 48px; }

.contact-form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.82rem; margin-bottom: 6px; color: rgba(255,255,255,0.6); font-weight: 500; }
.required { color: var(--teal-light); }

.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius);
  color: var(--white); font-size: 0.9rem; font-family: var(--font); transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); background: rgba(255,255,255,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238E99A4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-group select option { background: var(--dark); color: var(--white); }

.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.6); cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--teal); }

.btn-submit {
  background: var(--gradient-cta); color: var(--white); width: 100%; justify-content: center;
  padding: 18px; font-size: 1rem; font-weight: 700; border-radius: 12px; margin-top: 8px;
  box-shadow: 0 4px 16px rgba(43,186,160,0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(43,186,160,0.4); color: var(--white); }
.form-note { text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 14px; }

/* ===== Footer ===== */
.footer { padding: 56px 0 28px; background: var(--dark); color: rgba(255,255,255,0.8); }
.footer-top { display: grid; grid-template-columns: 240px 1fr; gap: 48px; margin-bottom: 40px; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.3); margin-top: 10px; }
.footer .logo-dsh { color: var(--white); }
.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.4); margin-bottom: 12px; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.35); padding: 3px 0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.2); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .challenges-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .sp-only { display: inline; }
  .container, .container-wide, .container-narrow { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-trust { flex-direction: column; gap: 6px; }
  .hero-trust-divider { display: none; }

  .pain-editorial { grid-template-columns: 1fr; min-height: auto; }
  .pain-left { padding: 80px 0 32px; }
  .pain-divider-line { display: none; }
  .pain-right { padding: 0 0 80px; }

  .numbers-strip { flex-wrap: wrap; gap: 28px; }
  .number-item + .number-item::before { display: none; }
  .number-item { flex: 0 0 calc(50% - 14px); }
  .number-value { font-size: 2.2rem; }

  .service-card { width: 280px; }
  .product-screenshots-grid { grid-template-columns: 1fr; }
  .product-zone-header { flex-direction: column; align-items: flex-start; }
  .pricing-extras-grid { grid-template-columns: 1fr; }
  .pricing-extras { padding: 28px 20px; }
  .pricing-grid-4 { grid-template-columns: 1fr; max-width: 400px; }
  .detail-block, .detail-block-reverse { grid-template-columns: 1fr; gap: 36px; }
  .detail-block-reverse .detail-text { order: 1; }
  .detail-block-reverse .detail-visual { order: 2; }
  .detail-banner { height: 200px; }
  .detail-banner-overlay { padding: 0 24px; }

  .academy-grid { grid-template-columns: 1fr; }
  .academy-flow { flex-direction: column; }
  .academy-flow-arrow { transform: rotate(90deg); }

  .method-grid { grid-template-columns: 1fr; }
  .challenges-grid { max-width: 100%; }
  .partners-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }

  .case-card { border-width: 2px; box-shadow: 0 4px 0 var(--dark); }
  .case-header { flex-direction: column; align-items: flex-start; padding: 20px 24px; }
  .case-body { padding: 24px; }
  .case-results-grid, .case-roi-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; }

  .column-article { grid-template-columns: 40px 1fr; gap: 16px; }
  .column-num { font-size: 2rem; }
  .avatar-flow-visual { flex-direction: column; }
  .avatar-arrow { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.7rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .sns-visual-grid { grid-template-columns: repeat(2, 1fr); }
}

@media print {
  .header, .mobile-nav { display: none; }
  body { background: #fff; }
  .fade-up { opacity: 1; transform: none; }
  .philosophy-section, .academy-section, .contact-section { background: #fff; color: #333; }
}
