/**
 * Shopify Service Page Styles
 * Shopifyサービスページ専用スタイル
 */

/* ============================================
   Shopify Hero Section
   ============================================ */
.shopify-hero {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.shopify-hero__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.shopify-hero__left {
  position: relative;
  z-index: 2;
}

.shopify-hero__tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.05em;
}

.shopify-hero__left {
  text-align: center;
}

.shopify-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.shopify-hero__title-accent {
  display: none;
}

.shopify-hero__description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

.shopify-hero__stats {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.shopify-hero__stat {
  text-align: center;
}

.shopify-hero__stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.shopify-hero__stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.shopify-hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.shopify-hero__right {
  position: relative;
  height: 500px;
}

.shopify-hero__cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.shopify-hero__card {
  position: absolute;
  width: 280px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shopify-hero__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.shopify-hero__card--1 {
  top: 10px;
  right: 120px;
  animation: float-1 6s ease-in-out infinite;
}

.shopify-hero__card--2 {
  bottom: 10px;
  right: 0;
  animation: float-2 6s ease-in-out infinite 3s;
}

@keyframes float-1 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float-2 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.shopify-hero__card-image {
  width: 100%;
  height: 160px;
  background: var(--bg-gray);
  overflow: hidden;
}

.shopify-hero__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shopify-hero__card:hover .shopify-hero__card-image img {
  transform: scale(1.05);
}

.shopify-hero__card-info {
  padding: 1rem;
}

.shopify-hero__card-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(0, 146, 220, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.shopify-hero__card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* ============================================
   Shopify Strengths Section
   ============================================ */
.shopify-strengths {
  padding: var(--spacing-xl) 0;
  background-color: #ffffff;
}

.section__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.section__title-accent {
  display: none;
}

.shopify-strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.strength-card {
  padding: var(--spacing-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #0077b3 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.strength-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.strength-card:hover::before {
  transform: scaleX(1);
}

.strength-card__tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background-color: rgba(0, 146, 220, 0.08);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.05em;
}

.strength-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 146, 220, 0.1) 0%, rgba(0, 119, 179, 0.15) 100%);
  border-radius: 50%;
  margin: 0 auto var(--spacing-md);
  color: var(--accent);
}

.strength-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text);
}

.strength-card__description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   Shopify Works Section
   ============================================ */
.shopify-works {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-gray);
}

.shopify-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.work-card-mini {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card-mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.work-card-mini__image {
  width: 100%;
  height: 200px;
  background: var(--bg-gray);
  overflow: hidden;
}

.work-card-mini__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-card-mini:hover .work-card-mini__image img {
  transform: scale(1.05);
}

.work-card-mini__content {
  padding: 1.25rem;
}

.work-card-mini__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.work-card-mini__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.work-card-mini__industry {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.shopify-works__more {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* ============================================
   Shopify Process Section
   ============================================ */
.shopify-process {
  padding: var(--spacing-xl) 0;
  background-color: #ffffff;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 33%, var(--accent) 66%, var(--accent) 100%);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step__number {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #0077b3 100%);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 146, 220, 0.3);
}

.process-step__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text);
}

.process-step__description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   Shopify Pricing Section
   ============================================ */
.shopify-pricing {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-gray);
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.pricing-plan {
  background: #ffffff;
  border-radius: 16px;
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.pricing-plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.pricing-plan--featured {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 146, 220, 0.2);
}

.pricing-plan--featured:hover {
  box-shadow: 0 12px 32px rgba(0, 146, 220, 0.25);
}

.pricing-plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, #0077b3 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.pricing-plan__header {
  text-align: center;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border);
}

.pricing-plan__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.pricing-plan__subtitle {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin: 0;
}

.pricing-plan__price {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.pricing-plan__amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-plan__tax {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.pricing-plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg);
}

.pricing-plan__features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-light);
  position: relative;
  padding-left: 1.75rem;
}

.pricing-plan__features li:last-child {
  border-bottom: none;
}

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

.pricing-plan__cta {
  text-align: center;
}

.pricing-note {
  text-align: center;
  margin-top: var(--spacing-lg);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.pricing-note p {
  margin: 0.5rem 0;
}

/* ============================================
   Shopify CTA Section
   ============================================ */
.shopify-cta {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--accent) 0%, #0077b3 100%);
  color: #ffffff;
  text-align: center;
}

.shopify-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: #ffffff;
}

.shopify-cta__description {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.shopify-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.shopify-cta .c-btn {
  background-color: #ffffff;
  color: var(--accent);
  border: 2px solid #ffffff;
}

.shopify-cta .c-btn:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.c-btn--large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

/* ============================================
   Floating CTA Button
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 6rem;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.scrolled .floating-cta {
  opacity: 1;
  visibility: visible;
}

.floating-cta__button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 146, 220, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

.floating-cta__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 146, 220, 0.5);
  opacity: 1;
  animation: none;
}

.floating-cta__button svg {
  width: 24px;
  height: 24px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .shopify-hero__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .shopify-hero__right {
    display: none;
  }

  .shopify-hero__cta {
    flex-direction: column;
  }

  .shopify-hero__cta .c-btn {
    width: 100%;
    text-align: center;
  }

  .shopify-strengths__grid {
    grid-template-columns: 1fr;
  }

  .shopify-works__grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps::before {
    display: none;
  }

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

  .floating-cta {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .floating-cta__button {
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
  }
}
