/* ============================================
   CSS Variables
   ============================================ */
:root {
  --bg-primary: #f3f6f5;
  --bg-secondary: #e4eeea;
  --bg-card: #ffffff;
  --bg-card-hover: #eef5f2;

  --accent: #0d8a72;
  --accent-dim: rgba(13, 138, 114, 0.10);
  --accent-glow: rgba(13, 138, 114, 0.28);
  --accent-secondary: #1a6b8a;
  --accent-green: #0d8a72;

  --text-primary: #102018;
  --text-secondary: #355045;
  --text-muted: #6a8076;

  --border: rgba(13, 138, 114, 0.14);
  --border-accent: rgba(13, 138, 114, 0.42);

  --header-height: 72px;
  --radius: 12px;
  --radius-lg: 20px;

  --font-sans: 'IBM Plex Sans JP', sans-serif;
  --font-display: 'Syne', 'IBM Plex Sans JP', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(13, 138, 114, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 100% 100%, rgba(26, 107, 138, 0.06) 0%, transparent 50%);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #0a6b58; }

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(243, 246, 245, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(13, 138, 114, 0.16);
  box-shadow: 0 1px 24px rgba(16, 32, 24, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, var(--accent), var(--accent-secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.logo-service {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-by {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2c4870;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(13, 138, 114, 0.07);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Main
   ============================================ */
.main {
  padding-top: var(--header-height);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(13, 138, 114, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 85%, rgba(26, 107, 138, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #eef5f2 0%, #f3f6f5 55%, #e7f0ec 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 138, 114, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 138, 114, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite;
}

.hero-orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  left: -8%;
  top: 12%;
  background: rgba(13, 138, 114, 0.18);
}

.hero-orb-b {
  width: min(40vw, 340px);
  height: min(40vw, 340px);
  right: -6%;
  bottom: 8%;
  background: rgba(26, 107, 138, 0.16);
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(42px, 9vw, 92px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: brandIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
  animation: brandIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-lead {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  animation: brandIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: brandIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

@keyframes brandIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(13, 138, 114, 0.5);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(13, 138, 114, 0.55), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow), 0 2px 8px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow), 0 4px 16px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

/* ??????? a ????????????????????? */
.page-content a.btn-primary,
.work-card-action .btn-primary,
a.btn-primary {
  color: #ffffff !important;
  text-decoration: none;
}

.page-content a.btn-primary:hover,
.work-card-action .btn-primary:hover,
a.btn-primary:hover {
  color: #ffffff !important;
}

.btn-ghost {
  background: rgba(13, 138, 114, 0.06);
  color: #0044cc;
  border: 1px solid rgba(13, 138, 114, 0.22);
}

.btn-ghost:hover {
  background: rgba(13, 138, 114, 0.12);
  border-color: rgba(13, 138, 114, 0.45);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  background: var(--accent-dim);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(13, 138, 114, 0.15);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: 12px;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 100px 24px;
}

.section-dark {
  background: var(--bg-secondary);
  background-image:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(13, 138, 114, 0.04) 0%, transparent 50%);
}

.section-cta-full {
  background: linear-gradient(135deg, rgba(13, 138, 114, 0.06), rgba(124, 58, 237, 0.06));
  border-top: 1px solid rgba(13, 138, 114, 0.15);
  border-bottom: 1px solid rgba(13, 138, 114, 0.15);
  text-align: center;
}

.section-cta-full h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-cta-full p {
  color: #2c4870;
  margin-bottom: 36px;
  font-size: 17px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  text-shadow: none;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-desc {
  color: #2c4870;
  font-size: 17px;
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 56px;
}

.section-cta {
  margin-top: 56px;
  text-align: center;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(13, 138, 114, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(13, 138, 114, 0.35);
  background: linear-gradient(145deg, #edf4ff, #e2edff);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(13, 138, 114, 0.10), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 6px rgba(13, 138, 114, 0.30));
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: #2c4870;
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   Compare
   ============================================ */
.compare {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 56px;
}

.compare-row {
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(13, 138, 114, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.compare-topic {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 18px;
}

.compare-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
}

.compare-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.compare-side p {
  font-size: 15px;
  line-height: 1.75;
}

.compare-side--before .compare-tag {
  background: rgba(98, 120, 160, 0.12);
  color: #62789f;
}

.compare-side--before p {
  color: #7387a8;
}

.compare-side--after .compare-tag {
  background: rgba(13, 138, 114, 0.12);
  color: var(--accent);
}

.compare-side--after p {
  color: var(--text-primary);
  font-weight: 500;
}

.compare-mark {
  font-size: 20px;
  color: rgba(13, 138, 114, 0.40);
  padding-top: 24px;
}

/* ============================================
   Services List
   ============================================ */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(13, 138, 114, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 48px;
  border-bottom: 1px solid rgba(13, 138, 114, 0.08);
  transition: background var(--transition);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item:hover {
  background: rgba(13, 138, 114, 0.03);
}

.service-num {
  font-size: 48px;
  font-weight: 700;
  color: rgba(13, 138, 114, 0.20);
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  min-width: 72px;
  transition: color var(--transition);
}

.service-item:hover .service-num {
  color: rgba(13, 138, 114, 0.55);
}

.service-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-body p {
  color: #2c4870;
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================
   Works / Viewer
   ============================================ */

/* ????E???????E???????E*/
.works-preview-card {
  border: 1px solid rgba(13, 138, 114, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.works-preview-card:hover {
  border-color: rgba(13, 138, 114, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 138, 114, 0.10);
}

.works-preview-body {
  padding: 48px;
}

.works-preview-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.works-preview-body h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.works-preview-body p {
  color: #2c4870;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ?????E?? ?????E*/
.work-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(13, 138, 114, 0.20);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 24px 0;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.work-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 138, 114, 0.12);
}

.work-card-info {
  flex: 1;
}

.work-card-info p {
  color: #2c4870 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  margin-bottom: 12px !important;
}

.work-card-info strong {
  color: var(--text-primary) !important;
}

.work-card-action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.work-qr img {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(13, 138, 114, 0.15);
  padding: 6px;
}

/* Works placeholder */
.works-placeholder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.placeholder-card {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.placeholder-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.placeholder-card span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   Flow Steps
   ============================================ */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: flow;
  margin: 40px 0;
}

.flow-step {
  display: flex;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.flow-step:last-child {
  border-bottom: none;
}

.step-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
  text-shadow: none;
  opacity: 0.85;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-content p {
  color: #2c4870;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.step-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-content ul li {
  font-size: 14px;
  color: #3b587a;
  padding-left: 20px;
  position: relative;
}

.step-content ul li::before {
  content: '?E;
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Flow mini (top page) */
.flow-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 48px 0;
}

.flow-mini-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow-mini-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(13, 138, 114, 0.10);
  border: 1.5px solid rgba(13, 138, 114, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  box-shadow: 0 2px 12px rgba(13, 138, 114, 0.18);
}

.flow-mini-label {
  font-size: 13px;
  color: #2c4870;
  text-align: center;
  font-weight: 600;
}

.flow-mini-arrow {
  font-size: 20px;
  color: rgba(13, 138, 114, 0.40);
  margin-bottom: 24px;
}

/* Flow FAQ */
.flow-note {
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(13, 138, 114, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 56px 0;
}

.flow-note h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.flow-note dl {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flow-note dt {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.flow-note dd {
  color: #2c4870;
  font-size: 15px;
  line-height: 1.7;
  margin-left: 0;
}

/* CTA Block */
.cta-block {
  background: linear-gradient(135deg, rgba(13, 138, 114, 0.06), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(13, 138, 114, 0.20);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 56px;
}

.cta-block p {
  color: #2c4870;
  font-size: 17px;
  margin-bottom: 24px;
}

/* ============================================
   Page (single.html)
   ============================================ */
.page-hero {
  background: var(--bg-secondary);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13, 138, 114, 0.06) 0%, transparent 60%);
  border-bottom: 1px solid rgba(13, 138, 114, 0.12);
  padding: 64px 24px;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.page-desc {
  color: #2c4870;
  font-size: 17px;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.page-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(13, 138, 114, 0.15);
  color: var(--text-primary);
}

.page-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: #0e2240;
}

.page-content p {
  color: #2c4870;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 16px;
}

.page-content ul, .page-content ol {
  color: #2c4870;
  padding-left: 24px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.page-content li {
  margin-bottom: 6px;
}

.page-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

.page-content a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ???? primary ????????????????? .btn ???? */
.page-content a.btn {
  text-decoration: none !important;
}

.page-content a.btn-primary,
.work-card a.btn-primary,
.work-card-action a.btn-primary,
.cta-block a.btn-primary {
  background: var(--accent) !important;
  background-image: linear-gradient(135deg, #0d8a72, #1a6b8a) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

.page-content hr {
  border: none;
  border-top: 1px solid rgba(13, 138, 114, 0.12);
  margin: 48px 0;
}

/* Table */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.page-content th,
.page-content td {
  padding: 14px 20px;
  border: 1px solid rgba(13, 138, 114, 0.12);
  text-align: left;
}

.page-content th {
  background: rgba(13, 138, 114, 0.05);
  color: #2c4870;
  font-weight: 600;
  width: 180px;
}

.page-content td {
  color: var(--text-primary);
}

/* 列の多い表。狭い画面では潰さず、横スクロールで読ませる */
.table-wide {
  overflow-x: auto;
  margin: 24px 0;
}

.table-wide table {
  margin: 0;
  min-width: 640px;
}

.table-wide th {
  width: auto;
}

/* Blockquote */
.page-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  background: rgba(13, 138, 114, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  color: #2c4870;
}

/* ============================================
   Contact page
   ============================================ */
.page-content img {
  border-radius: var(--radius);
  max-width: 200px;
  margin: 16px auto;
}

/* LINE button */
.btn-line {
  background: #06C755;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-line:hover {
  background: #05b04a;
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: #6278a0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  align-items: center;
}

.footer-nav-link {
  padding: 6px 12px;
  font-size: 14px;
  color: #3d5880;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.footer-nav-link:hover {
  color: var(--accent);
  background: rgba(13, 138, 114, 0.07);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(13, 138, 114, 0.08);
}

.copyright {
  font-size: 13px;
  color: #6278a0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.footer-legal-link {
  font-size: 13px;
  color: #6278a0;
  transition: color var(--transition);
}

.footer-legal-link:hover {
  color: var(--accent);
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
  align-items: stretch;
}

.pricing-card {
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(13, 138, 114, 0.18);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  border-color: rgba(13, 138, 114, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 138, 114, 0.10);
}

.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, #e8f5f1, #dff0ff);
  box-shadow: 0 8px 32px rgba(13, 138, 114, 0.16);
}

.pricing-card--featured:hover {
  box-shadow: 0 16px 48px rgba(13, 138, 114, 0.22);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-plan-target {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  margin-top: 16px;
}

.pricing-init {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 2px;
}

.pricing-init span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.pricing-monthly {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 24px;
}

.pricing-monthly span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: #3b587a;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-note {
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(13, 138, 114, 0.15);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 24px 0;
}

.pricing-note p {
  color: #2c4870;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.pricing-note ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-note li {
  font-size: 14px;
  color: #3b587a;
  padding-left: 20px;
  position: relative;
}

.pricing-note li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-grid--2col {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 760px;
}

.pricing-usecase {
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(13, 138, 114, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 24px 0 0;
}

.pricing-usecase-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.pricing-usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.pricing-usecase-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #2c4870;
  line-height: 1.55;
}

.pricing-usecase-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.3;
}

/* ============================================
   Pricing Wizard v2 (All-visible)
   ============================================ */
.pw2 {
  background: #f8fbf9;
  border: 1px solid rgba(13, 138, 114, 0.14);
  border-radius: 24px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.pw2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 138, 114, 0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 138, 114, 0.030) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.pw2-section {
  padding: 40px 48px;
  position: relative;
  z-index: 1;
}

.pw2-divider {
  height: 1px;
  background: rgba(13, 138, 114, 0.10);
  margin: 0 48px;
}

/* Section header */
.pw2-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.pw2-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px var(--accent-glow);
}

.pw2-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Choice grids */
.pw2-choices {
  display: grid;
  gap: 16px;
}

.pw2-choices--2col { grid-template-columns: repeat(2, 1fr); }
.pw2-choices--3col { grid-template-columns: repeat(3, 1fr); }

/* Choice card */
.pw2-choice {
  background: #ffffff;
  border: 2px solid rgba(13, 138, 114, 0.13);
  border-radius: 16px;
  padding: 36px 20px 30px;
  cursor: pointer;
  text-align: center;
  transition: all 0.30s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.pw2-choice::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.25s;
}

.pw2-choice::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13, 138, 114, 0.06), rgba(26, 107, 138, 0.03));
  opacity: 0;
  transition: opacity 0.25s;
}

.pw2-choice:hover {
  border-color: rgba(13, 138, 114, 0.40);
  box-shadow: 0 12px 36px rgba(13, 138, 114, 0.13), 0 3px 12px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

.pw2-choice:hover::before,
.pw2-choice:hover::after { opacity: 1; }

/* Selected state */
.pw2-choice--selected {
  border-color: var(--accent) !important;
  background: rgba(13, 138, 114, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(13, 138, 114, 0.14), 0 6px 24px rgba(13, 138, 114, 0.12) !important;
  transform: none !important;
}

.pw2-choice--selected::before { opacity: 1 !important; }
.pw2-choice--selected::after  { opacity: 1 !important; }

/* Checkmark badge */
.pw2-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
  line-height: 1;
}

.pw2-choice--selected .pw2-check {
  opacity: 1;
  transform: scale(1);
}

/* Recommended badge */
.pw2-recommended {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.pw2-choice-icon {
  font-size: 44px;
  line-height: 1;
  transition: transform 0.30s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.08));
}

.pw2-choice:hover .pw2-choice-icon { transform: scale(1.15) translateY(-2px); }
.pw2-choice--selected .pw2-choice-icon { transform: scale(1.05); }

.pw2-choice-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 138, 114, 0.08);
  border: 2px solid rgba(13, 138, 114, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  transition: all 0.30s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.pw2-choice:hover .pw2-choice-badge {
  transform: scale(1.10);
  box-shadow: 0 4px 16px rgba(13, 138, 114, 0.22);
}

.pw2-badge--featured {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 3px 14px var(--accent-glow);
}

.pw2-choice-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.pw2-choice-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Per-item rate banner */
.pw2-peritem-note {
  display: flex;
  align-items: baseline;
  gap: 16px;
  background: linear-gradient(135deg, rgba(13, 138, 114, 0.08), rgba(26, 107, 138, 0.06));
  border: 1px solid rgba(13, 138, 114, 0.18);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 16px;
}

.pw2-peritem-rate {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.pw2-peritem-rate small {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.pw2-peritem-monthly {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

.pw2-qty {
  background: #ffffff;
  border: 1px solid rgba(13, 138, 114, 0.16);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pw2-qty-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.pw2-qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pw2-qty-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid rgba(13, 138, 114, 0.25);
  background: #ffffff;
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pw2-qty-btn:hover {
  background: rgba(13, 138, 114, 0.08);
  border-color: var(--accent);
}

.pw2-qty-input {
  width: 88px;
  height: 56px;
  border: 2px solid rgba(13, 138, 114, 0.25);
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  background: #fff;
  -moz-appearance: textfield;
}

.pw2-qty-input::-webkit-outer-spin-button,
.pw2-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pw2-qty-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 138, 114, 0.15);
}

.pw2-qty-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pw2-qty-preview {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(13, 138, 114, 0.09);
  padding: 6px 16px;
  border-radius: 20px;
}

.pw2-opt-add {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  border: 1.5px solid rgba(13, 138, 114, 0.35);
  padding: 2px 8px;
  border-radius: 20px;
  z-index: 3;
  transition: opacity 0.2s;
}

.pw2-choice--selected .pw2-opt-add { opacity: 0; pointer-events: none; }

.pw2-opt-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(13, 138, 114, 0.09);
  padding: 4px 12px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  margin-top: 2px;
}

/* Empty state */
.pw2-empty {
  padding: 40px 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pw2-empty-icon { font-size: 36px; margin-bottom: 12px; }

.pw2-empty-text {
  font-size: 15px;
  color: var(--text-muted);
  background: rgba(13, 138, 114, 0.04);
  border: 1.5px dashed rgba(13, 138, 114, 0.22);
  border-radius: 12px;
  padding: 20px 32px;
  display: inline-block;
}

/* Result appear animation */
@keyframes pw2ResultIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pw2-result-appear {
  animation: pw2ResultIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#pw2Result {
  position: relative;
  z-index: 1;
  padding: 0 48px 48px;
}

/* ============================================
   Pricing Wizard (Premium)
   ============================================ */
.pw {
  background: #f8fbf9;
  border: 1px solid rgba(13, 138, 114, 0.14);
  border-radius: 24px;
  padding: 52px 56px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.pw::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 138, 114, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 138, 114, 0.032) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

/* Step indicator */
.pw-indicator {
  display: flex;
  align-items: flex-start;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.pw-indicator-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pw-ind-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(13, 138, 114, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pw-ind-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.3s;
  white-space: nowrap;
}

.pw-indicator-step.pw-ind-active .pw-ind-num {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow), 0 2px 8px rgba(0,0,0,0.12);
  transform: scale(1.12);
}

.pw-indicator-step.pw-ind-active .pw-ind-label {
  color: var(--accent);
  font-weight: 700;
}

.pw-indicator-step.pw-ind-done .pw-ind-num {
  background: rgba(13, 138, 114, 0.10);
  border-color: var(--accent);
  color: transparent;
  font-size: 0;
}

.pw-indicator-step.pw-ind-done .pw-ind-num::after {
  content: '✓';
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
}

.pw-indicator-step.pw-ind-done .pw-ind-label {
  color: var(--accent);
}

.pw-indicator-line {
  flex: 1;
  height: 2px;
  background: rgba(13, 138, 114, 0.12);
  margin: 24px 12px 0;
  border-radius: 2px;
}

/* Step animations */
.pw-step { display: none; }

@keyframes pwSlideIn {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pwSlideBack {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}

.pw-step-active {
  display: block;
  animation: pwSlideIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pw-step-active.pw-anim-back {
  animation: pwSlideBack 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pw-step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

/* Choices grid */
.pw-choices {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.pw-choices--2col { grid-template-columns: repeat(2, 1fr); }
.pw-choices--3col { grid-template-columns: repeat(3, 1fr); }

/* Choice card */
.pw-choice {
  background: #ffffff;
  border: 2px solid rgba(13, 138, 114, 0.14);
  border-radius: 16px;
  padding: 40px 24px 36px;
  cursor: pointer;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.pw-choice::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.pw-choice::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13, 138, 114, 0.06) 0%, rgba(26, 107, 138, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.pw-choice:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 56px rgba(13, 138, 114, 0.16), 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-8px);
}

.pw-choice:hover::before,
.pw-choice:hover::after { opacity: 1; }

.pw-choice-icon {
  font-size: 52px;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.10));
}

.pw-choice:hover .pw-choice-icon {
  transform: scale(1.2) translateY(-3px);
}

.pw-choice-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13, 138, 114, 0.08);
  border: 2px solid rgba(13, 138, 114, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.pw-choice:hover .pw-choice-badge {
  transform: scale(1.12);
  box-shadow: 0 4px 20px rgba(13, 138, 114, 0.28);
}

.pw-badge--featured {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.pw-choice-recommended {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.pw-choice-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.pw-choice-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Back button */
.pw-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.25s;
  position: relative;
  z-index: 1;
}

.pw-back:hover { color: var(--accent); }

/* Result card */
.pw-result {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.pw-result-header {
  background: linear-gradient(135deg, #0b3028 0%, #0e2a3f 100%);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.pw-result-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.pw-result-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,200,160,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.pw-result-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13, 200, 160, 0.9);
  margin-bottom: 6px;
  position: relative;
}

.pw-result-plan-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  position: relative;
}

.pw-result-plan-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  position: relative;
}

.pw-result-prices { background: #ffffff; }

.pw-result-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 40px;
  border-bottom: 1px solid rgba(13, 138, 114, 0.08);
  flex-wrap: wrap;
}

.pw-result-price-row--accent {
  background: rgba(13, 138, 114, 0.03);
}

.pw-result-opt-row {
  background: rgba(13, 138, 114, 0.015);
}

.pw-result-price-row--total {
  background: rgba(13, 138, 114, 0.06);
  border-top: 1px solid rgba(13, 138, 114, 0.15);
}

.pw-result-price-value--opt {
  font-size: 20px !important;
  color: var(--text-secondary) !important;
}

.pw-result-price-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.pw-result-price-value {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: right;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.pw-result-price-row--accent .pw-result-price-value {
  color: var(--accent);
}

.pw-result-price-value small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  text-align: right;
  margin-top: 3px;
}

.pw-result-note {
  padding: 14px 40px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 190, 50, 0.06);
  border-bottom: 1px solid rgba(255, 190, 50, 0.18);
  margin: 0 !important;
}

.pw-result-features {
  background: #ffffff;
  padding: 24px 40px 32px;
}

.pw-result-features-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pw-result-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px 28px;
}

.pw-result-features li {
  font-size: 14px;
  color: #3b587a;
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}

.pw-result-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .compare-row {
    padding: 24px 20px;
  }

  .compare-pair {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .compare-mark {
    padding-top: 0;
    justify-self: center;
    transform: rotate(90deg);
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(244, 248, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 16px;
    width: 100%;
  }

  .logo-text {
    font-size: 13px;
  }

  .section {
    padding: 72px 20px;
  }

  .service-item {
    flex-direction: column;
    gap: 16px;
    padding: 32px 24px;
  }

  .service-num {
    font-size: 36px;
    min-width: auto;
  }

  .flow-step {
    flex-direction: column;
    gap: 16px;
  }

  .step-number {
    font-size: 40px;
    min-width: auto;
  }

  .flow-mini {
    gap: 8px;
  }

  .flow-mini-arrow {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .flow-note {
    padding: 32px 24px;
  }

  .cta-block {
    padding: 36px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    gap: 4px;
  }

  .work-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 24px;
  }

  .work-card-action {
    width: 100%;
    align-items: flex-start;
  }

  .works-preview-body {
    padding: 32px 24px;
  }

  .works-placeholder {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 48px 20px 80px;
  }

  .page-content th {
    width: 120px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pw2-section { padding: 28px 20px; }
  .pw2-divider { margin: 0 20px; }
  .pw2-choices--2col,
  .pw2-choices--3col { grid-template-columns: 1fr; }
  .pw2-choice { padding: 28px 16px 24px; }
  .pw2-choice-icon { font-size: 36px; }
  .pw2-empty { padding: 28px 20px; }
  #pw2Result { padding: 0 20px 32px; }

  .pw {
    padding: 32px 20px;
  }

  .pw-indicator { margin-bottom: 36px; }
  .pw-ind-num { width: 38px; height: 38px; font-size: 14px; }
  .pw-ind-label { font-size: 10px; }
  .pw-indicator-line { margin: 19px 6px 0; }

  .pw-choices--2col,
  .pw-choices--3col {
    grid-template-columns: 1fr;
  }

  .pw-choice { padding: 28px 20px; }
  .pw-choice-icon { font-size: 40px; }

  .pw-result-header { padding: 28px 24px; }
  .pw-result-plan-name { font-size: 26px; }

  .pw-result-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 24px;
  }

  .pw-result-price-value {
    font-size: 26px;
    text-align: left;
  }

  .pw-result-price-value small { text-align: left; }

  .pw-result-features {
    padding: 20px 24px 28px;
  }

  .pw-result-features ul { grid-template-columns: 1fr; }

  .pw-result-note { padding: 12px 24px; }

  #pwResult > div[style] { padding: 0 24px 28px; }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .flow-mini {
    flex-direction: column;
  }

  .flow-mini-arrow {
    transform: rotate(90deg);
    margin-bottom: 0;
  }
}
