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

/* ============================================
   HP Hero Section
   ============================================ */
.hp-hero {
  padding: var(--spacing-xl) 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.hp-hero__left {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hp-hero__tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: rgba(0, 146, 220, 0.1);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.05em;
  border: 1px solid var(--accent);
}

.hp-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

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

.hp-hero__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

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

.hp-hero__badges {
  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);
}

.hp-hero__badge {
  text-align: center;
}

.hp-hero__badge-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
  line-height: 1;
}

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

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

.hp-hero__right {
  position: relative;
  height: 450px;
}

.hp-hero__results {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 成果カード - 斜め重ねレイアウト */
.result-card {
  position: absolute;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
  transform: translateY(-8px) rotate(0deg) !important;
  box-shadow: 0 12px 32px rgba(0, 146, 220, 0.2);
}

.result-card--1 {
  top: 30px;
  left: 20px;
  width: 200px;
  transform: rotate(-3deg);
  z-index: 3;
  animation: float-result-1 4s ease-in-out infinite;
}

.result-card--2 {
  top: 140px;
  right: 40px;
  width: 180px;
  transform: rotate(2deg);
  z-index: 2;
  animation: float-result-2 4.5s ease-in-out infinite 1s;
}

.result-card--3 {
  bottom: 50px;
  left: 60px;
  width: 190px;
  transform: rotate(-2deg);
  z-index: 1;
  animation: float-result-3 5s ease-in-out infinite 2s;
}

@keyframes float-result-1 {
  0%, 100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-12px);
  }
}

@keyframes float-result-2 {
  0%, 100% {
    transform: rotate(2deg) translateY(0);
  }
  50% {
    transform: rotate(2deg) translateY(-10px);
  }
}

@keyframes float-result-3 {
  0%, 100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-15px);
  }
}

.result-card__metric {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.result-card__label {
  font-size: 0.6875rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ============================================
   HP Strengths Section
   ============================================ */
.hp-strengths {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-gray);
}

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

/* strength-card */
.strength-card {
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--spacing-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.strength-card__tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, rgba(0, 146, 220, 0.1) 0%, rgba(0, 119, 179, 0.08) 100%);
  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;
}

/* ============================================
   HP Works Section
   ============================================ */
.hp-works {
  padding: var(--spacing-xl) 0;
  background-color: #ffffff;
}

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

/* Work Card Mini - Shopifyページと統一 */
.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;
}

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

/* ============================================
   HP Process Section
   ============================================ */
.hp-process {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-gray);
}

.process-timeline {
  position: relative;
  margin-top: var(--spacing-lg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 40px;
  bottom: 40px;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent) 0%, #0077b3 100%);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step__number {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #0077b3 100%);
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 146, 220, 0.3);
}

.process-step__content {
  background: #ffffff;
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step__content:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

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

.process-step__description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.process-step__deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deliverable-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background-color: rgba(0, 146, 220, 0.08);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(0, 146, 220, 0.2);
}

/* ============================================
   HP Pricing Section
   ============================================ */
.hp-pricing {
  padding: var(--spacing-xl) 0;
  background-color: #ffffff;
}

.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.75rem;
  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-md);
}

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

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

.pricing-plan__included,
.pricing-plan__excluded {
  margin-bottom: var(--spacing-md);
}

.pricing-plan__included h4,
.pricing-plan__excluded h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-plan__features,
.pricing-plan__not-included {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-plan__features li,
.pricing-plan__not-included li {
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: var(--text-light);
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.6;
}

.pricing-plan__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.pricing-plan__not-included li::before {
  content: '−';
  position: absolute;
  left: 0.25rem;
  color: var(--text-muted);
  font-weight: 700;
}

.pricing-plan__cta {
  text-align: center;
  margin-top: var(--spacing-md);
}

.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;
}

/* ============================================
   HP Package Section
   ============================================ */
.hp-package {
  padding: var(--spacing-xl) 0;
  background-color: #ffffff;
}

.package-card {
  max-width: 800px;
  margin: var(--spacing-lg) auto 0;
  background: linear-gradient(135deg, rgba(0, 146, 220, 0.03) 0%, rgba(0, 119, 179, 0.05) 100%);
  border: 2px solid rgba(0, 146, 220, 0.2);
  border-radius: 16px;
  padding: var(--spacing-xl);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 146, 220, 0.15);
}

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

.package-card__content {
  text-align: center;
}

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

.package-card__price {
  margin-bottom: var(--spacing-md);
}

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

.package-card__tax {
  font-size: 1rem;
  color: var(--text-light);
  margin-left: 0.25rem;
}

.package-card__description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(0, 146, 220, 0.15);
}

.package-card__requirements {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.package-card__requirements h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: var(--spacing-sm);
}

.package-card__requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-card__requirements li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.6;
}

.package-card__requirements li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-weight: 700;
  font-size: 1.2rem;
}

.package-card__features {
  text-align: left;
  max-width: 500px;
  margin: 0 auto var(--spacing-lg);
}

.package-card__features h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}

.package-card__features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-card__features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.6;
}

.package-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.package-card__selfservice {
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.package-card__selfservice p {
  margin: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.7;
}

.package-card__note {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.package-card__note p {
  margin: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.package-card__cta {
  margin-top: var(--spacing-md);
}

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

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

/* ============================================
   HP FAQ Section
   ============================================ */
.hp-faq {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-gray);
}

.faq-list {
  max-width: 800px;
  margin: var(--spacing-lg) auto 0;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item__question {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--spacing-md);
}

.faq-item__question .faq-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  border-radius: 50%;
  font-size: 1rem;
}

.faq-item__question h3 {
  flex: 1;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  padding-top: 0.25rem;
}

.faq-item__answer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-left: 0;
}

.faq-item__answer .faq-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 146, 220, 0.1);
  color: var(--accent);
  font-weight: 700;
  border-radius: 50%;
  font-size: 1rem;
}

.faq-item__answer p {
  flex: 1;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
  padding-top: 0.25rem;
}

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

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

.hp-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;
}

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

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

.hp-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;
  font-size: 0.9375rem;
}

.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: 20px;
  height: 20px;
}

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

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

  .hp-hero__right {
    display: none;
  }

  .hp-hero__badges {
    flex-direction: row;
    justify-content: space-between;
  }

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

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

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

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

  .work-case__before-after {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .work-case__arrow {
    transform: rotate(90deg);
  }

  .process-timeline::before {
    left: 30px;
  }

  .process-step {
    grid-template-columns: 60px 1fr;
    gap: var(--spacing-md);
  }

  .process-step__number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }

  .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.875rem;
  }
}
