/* ==========================================================
   Web Production Service Page specific styles
   - HTMLとCSSの完全分離・再利用を考慮
   - JS不要設計
========================================================== */

/* ベースラップ（WordPress等にコピペした際の影響を最小限にするためのプレフィックス） */
.wp-web-service {
  --w-primary: #00d4ff;
  --w-primary-dim: rgba(0, 212, 255, 0.15);
  --w-secondary: #7c3aed;
  --w-secondary-dim: rgba(124, 58, 237, 0.15);
  --w-accent: #06C755; /* LINEや特典などの目立たせる色 */
  --w-bg: #0a0b14;
  --w-card-bg: rgba(17, 24, 39, 0.80);
  --w-text: #e2e8f0;
  --w-text-muted: #94a3b8;
  --w-border: rgba(255, 255, 255, 0.08);
  --w-border-hover: rgba(0, 212, 255, 0.25);
  --w-gradient: linear-gradient(135deg, var(--w-primary) 0%, var(--w-secondary) 100%);
  --w-glass: rgba(255, 255, 255, 0.04);
  background-color: var(--w-bg);
  color: var(--w-text);
  font-family: inherit;
  line-height: 1.8;
  overflow-x: hidden;
}

/* コンテナ */
.wp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* セクション */
.wp-section {
  padding: 100px 0;
}

.wp-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.wp-section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--w-primary);
  background: var(--w-primary-dim);
  border: 1px solid var(--w-border-hover);
  border-radius: 999px;
  padding: 6px 20px;
  margin-bottom: 16px;
}

.wp-section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.wp-section-title span {
  background: var(--w-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wp-section-desc {
  color: var(--w-text-muted);
  font-size: 16px;
}

/* --- 1. ヒーローセクション --- */
.wp-hero {
  padding: 180px 0 100px;
  position: relative;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15), transparent 60%);
}

.wp-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #fff;
}

.wp-hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--w-text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

.wp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.wp-btn-primary {
  background: var(--w-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.wp-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.4);
}

.wp-btn-secondary {
  background: var(--w-glass);
  color: #fff;
  border: 1px solid var(--w-border);
}

.wp-btn-secondary:hover {
  border-color: var(--w-border-hover);
  color: var(--w-primary);
  background: rgba(255,255,255,0.08);
}

/* --- 2. リード文（悩み→解決） --- */
.wp-lead {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--w-border);
  border-bottom: 1px solid var(--w-border);
}

.wp-problem-box {
  background: var(--w-card-bg);
  border: 1px solid var(--w-border);
  border-radius: 24px;
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.wp-problem-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wp-problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  background: var(--w-glass);
  padding: 16px 24px;
  border-radius: 12px;
}

.wp-problem-list li::before {
  content: '✓';
  color: var(--w-primary);
  font-weight: bold;
  font-size: 18px;
}

.wp-solve-text {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--w-primary);
  line-height: 1.8;
}

/* --- 3. サービス一覧（カード） --- */
.wp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.wp-card {
  background: var(--w-card-bg);
  border: 1px solid var(--w-border);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.wp-card:hover {
  transform: translateY(-8px);
  border-color: var(--w-border-hover);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0, 212, 255, 0.1);
}

.wp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--w-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.wp-card-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--w-primary);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.wp-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
}

.wp-card-desc {
  font-size: 15px;
  color: var(--w-text-muted);
  flex-grow: 1;
}

/* --- 4. おすすめ対象 --- */
.wp-target-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.wp-target-item {
  background: var(--w-glass);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  border-radius: 99px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.wp-target-item:hover {
  background: var(--w-primary-dim);
  border-color: var(--w-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* --- 5. 強み（アイコン風） --- */
.wp-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wp-strength-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--w-border);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.wp-strength-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
}

.wp-strength-icon {
  font-size: 40px;
  margin-bottom: 24px;
  display: inline-block;
  background: var(--w-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wp-strength-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 16px;
}

/* キャンペーン特記用 */
.wp-strength-card.accent {
  border-color: var(--w-accent);
  background: rgba(6, 199, 85, 0.05);
}

/* --- 6. 制作の流れ（要約版） --- */
.wp-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
}

.wp-flow::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--w-border);
  z-index: 0;
}

.wp-flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.wp-flow-circle {
  width: 50px;
  height: 50px;
  background: var(--w-bg);
  border: 2px solid var(--w-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--w-primary);
  margin: 0 auto 16px;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.wp-flow-title {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}

/* --- 7. 料金セクション（要約版） --- */
.wp-price-box {
  background: var(--w-card-bg);
  border: 1px solid var(--w-border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}

.wp-price-info h3 {
  font-size: 24px;
  color: #fff;
  margin: 0 0 8px 0;
}

.wp-price-info p {
  color: var(--w-text-muted);
  margin: 0;
}

.wp-price-amount {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.wp-price-amount span {
  font-size: 16px;
  font-weight: normal;
  color: var(--w-text-muted);
}

.wp-price-detail-link {
  text-align: center;
}

/* --- 8. FAQ（CSSのみのDetails/Summary） --- */
.wp-faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.wp-faq-item {
  background: var(--w-glass);
  border: 1px solid var(--w-border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.wp-faq-summary {
  padding: 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none; /* marker非表示 */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wp-faq-summary::-webkit-details-marker {
  display: none;
}

.wp-faq-summary::after {
  content: '+';
  color: var(--w-primary);
  font-size: 24px;
  transition: transform 0.3s;
}

.wp-faq-item[open] .wp-faq-summary::after {
  transform: rotate(45deg);
}

.wp-faq-content {
  padding: 0 24px 24px;
  color: var(--w-text-muted);
  line-height: 1.8;
  animation: faqOpen 0.4s ease-in-out;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- レスポンシブ --- */
@media (max-width: 900px) {
  .wp-card-grid { grid-template-columns: 1fr; }
  .wp-strength-grid { grid-template-columns: repeat(2, 1fr); }
  .wp-price-box { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .wp-section { padding: 60px 0; }
  .wp-hero { padding: 120px 0 60px; }
  .wp-strength-grid { grid-template-columns: 1fr; }
  
  .wp-flow { flex-direction: column; align-items: stretch; gap: 24px; }
  .wp-flow::before {
    top: 0; left: 24px; right: auto; bottom: 0; width: 2px; height: 100%;
  }
  .wp-flow-step { display: flex; align-items: center; gap: 16px; text-align: left; }
  .wp-flow-circle { margin: 0; width: 40px; height: 40px; font-size: 14px; flex-shrink: 0; }
  
  .wp-problem-box { padding: 24px; }
}
