/* スライドショー専用スタイル */
.flow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  overflow: hidden;
}

.flow-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  background: var(--bg-color);
  box-shadow: 0 3px 8px var(--shadow-dark);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flow-close {
  width: 44px;
  height: 44px;
  background: var(--bg-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: rgba(128, 128, 128, 0.5);
  box-shadow:
    5px 5px 8px var(--shadow-dark),
    -5px -5px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

.flow-close:hover {
  box-shadow:
    3px 3px 6px var(--shadow-dark),
    -3px -3px 6px var(--shadow-light);
}

.flow-slide {
  display: none;
  height: 100vh;
  padding-top: 80px;
  flex-direction: column;
  position: relative;
}

.flow-slide.active {
  display: flex;
}

.slide-image {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.slide-image-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/3;
  background: var(--bg-color);
  border-radius: 30px;
  box-shadow:
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-color);
  overflow: hidden;
}

.slide-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  padding-bottom: 2rem;
}

.slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-step {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.slide-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.slide-description {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.8;
}

.slide-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  pointer-events: none;
}

.slide-navigation .nav-circle {
  pointer-events: auto;
}

.nav-circle {
  width: 50px;
  height: 50px;
  background: var(--bg-color);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  box-shadow:
    5px 5px 8px var(--shadow-dark),
    -5px -5px 8px var(--shadow-light);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.nav-circle:hover:not(:disabled) {
  box-shadow:
    3px 3px 6px var(--shadow-dark),
    -3px -3px 6px var(--shadow-light);
  transform: scale(1.05);
}

.nav-circle:active:not(:disabled) {
  box-shadow:
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
  transform: scale(0.95);
}

.nav-circle:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-circle-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 8px rgba(255, 153, 153, 0.3);
}

.nav-circle-primary:hover {
  box-shadow: 0 6px 12px rgba(255, 153, 153, 0.4);
}

.slide-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.3);
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
}

/* リンクスタイル */
.link-primary {
  color: var(--primary-color);
  text-decoration: none;
}

.link-primary:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .slide-image {
    flex: 0 0 35%;
  }

  .slide-title {
    font-size: 1.5rem;
  }

  .slide-description {
    font-size: 0.9rem;
  }
}
