:root {
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --success-color: #059669;
  --error-color: #dc2626;
  --warning-color: #d97706;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --border-color: #d1d5db;
  --border-hover: #9ca3af;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  flex: 1;
}

.header {
  text-align: center;
  color: white;
}

.header__title {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.header__title-keyword {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header__title-brand {
  font-size: 2.75rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-top: 0.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.header__lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(10px);
}

.feature__icon svg {
  width: 100%;
  height: 100%;
  color: white;
  stroke-width: 1.5;
}

.feature__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature__desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sp-only {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: white;
  color: var(--primary-color);
  border-color: white;
  font-weight: 600;
}

.btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main {
  flex: 1;
}


.file-upload__dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.file-upload__dropzone:hover,
.file-upload__dropzone.dragover {
  border-color: var(--primary-color);
  background: rgba(99, 102, 241, 0.05);
}

.file-upload__icon {
  width: 3rem;
  height: 3rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.file-upload__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.file-upload__subtitle {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.file-upload__button {
  color: var(--primary-color);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-weight: 600;
}

.file-upload__button:hover {
  color: var(--primary-hover);
}

.file-upload__note {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.file-upload__recommend {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-primary);
  font-weight: 500;
}

.file-upload__recommend-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

/* プレビューエリア */
.file-upload__preview {
  width: 100%;
}

.preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preview-sizes {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.preview-icon {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.preview-icon--transparent {
  background-image: 
    linear-gradient(45deg, #ccc 25%, transparent 25%),
    linear-gradient(-45deg, #ccc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ccc 75%),
    linear-gradient(-45deg, transparent 75%, #ccc 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
}

.preview-icon--16 {
  width: 24px;
  height: 24px;
  padding: 4px;
}

.preview-icon--32 {
  width: 48px;
  height: 48px;
  padding: 8px;
}

.preview-icon--64 {
  width: 80px;
  height: 80px;
  padding: 8px;
}

.preview-icon--128 {
  width: 144px;
  height: 144px;
  padding: 8px;
}

.preview-icon canvas {
  width: 100%;
  height: 100%;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.preview-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.preview-change-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preview-change-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .preview-sizes {
    gap: 1rem;
  }
  
  .preview-icon--128 {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .preview-sizes {
    gap: 0.75rem;
  }
  
  .preview-icon--64,
  .preview-icon--128 {
    width: 80px;
    height: 80px;
  }
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  margin-left: auto;
  margin-right: auto;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 使い方・FAQ セクション */
.info-section {
  margin: 3rem 0;
}

.info-content {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.info-section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ステップグリッド */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.step-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.step-content {
  flex: 1;
}

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

.step-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* FAQ リスト */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-item[open] {
  border-color: var(--primary-color);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

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

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item[open] .faq-question {
  background: rgba(99, 102, 241, 0.05);
  border-bottom-color: var(--border-color);
}

.faq-question:hover {
  background: rgba(99, 102, 241, 0.05);
}

.faq-answer {
  padding: 1.5rem;
  background: white;
}

.faq-answer p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.option-group {
  display: flex;
  flex-direction: column;
}

.option-group--upload {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
}

.option-group--button {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.option-group__label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.option-group__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}

.option-group__checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.help-icon {
  background: var(--text-secondary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  font-size: 0.625rem;
  font-weight: normal;
  cursor: pointer;
  margin-left: 0.375rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0.7;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.help-icon:hover {
  background: var(--primary-color);
  opacity: 1;
  transform: scale(1.05);
}

.help-icon--inline {
  vertical-align: middle;
  margin-left: 0.375rem;
}

.option-group__input {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.option-group__input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.option-group__range {
  -webkit-appearance: none;
  appearance: none;
  height: 0.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}

.option-group__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
}

.option-group__range::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.color-input {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.color-input__picker {
  width: 3rem;
  height: 2.5rem;
  border: 1px solid #ffffff;
  border-radius: 0;
  cursor: pointer;
  background-color: #fff;
}

.color-input__transparent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.generate-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.generate-btn:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.generate-btn:disabled {
  background: var(--border-color);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.spinner {
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.result-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.result-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.preview-item {
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
}

.preview-item__image {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
}

.preview-item__label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.download-section {
  text-align: center;
  margin-bottom: 2rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--success-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.download-btn:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.download-btn__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.code-section {
  margin-bottom: 2rem;
}

.code-section__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.code-block {
  position: relative;
  background: #1f2937;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-block__copy {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 1;
}

.code-block__copy:hover {
  background: var(--primary-hover);
}

.code-block__content {
  color: #e5e7eb;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 1rem;
  margin: 0;
  overflow-x: auto;
  white-space: pre;
}

.reset-btn {
  display: block;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reset-btn:hover {
  background: var(--border-color);
  transform: translateY(-1px);
}

.footer {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer__link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  transform: translateY(-1px);
}

/* ヘルプモーダル */
.help-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.help-modal.show {
  display: flex;
}

.help-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.help-modal__content {
  position: relative;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  max-height: 80vh;
  width: 90%;
  margin: 1rem;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.help-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.help-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.help-modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.help-modal__close:hover {
  color: var(--text-primary);
}

.help-modal__body {
  padding: 1.5rem;
  max-height: 60vh;
  overflow-y: auto;
}

.help-modal__description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.help-modal__example {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.help-modal__example h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.help-modal__example ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.25rem;
}

.help-modal__example li {
  margin-bottom: 0.25rem;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .help-modal__content {
    margin: 0.5rem;
    max-height: 90vh;
  }
  
  .help-modal__header {
    padding: 1rem;
  }
  
  .help-modal__body {
    padding: 1rem;
  }
}

.alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert--error {
  background: #fef2f2;
  color: var(--error-color);
  border: 1px solid #fecaca;
}

.alert--success {
  background: #f0fdf4;
  color: var(--success-color);
  border: 1px solid #bbf7d0;
}

@media (max-width: 768px) {
  .header {
    padding: 2rem 0;
  }
  
  .header__title-brand {
    font-size: 2.25rem;
  }
  
  .header__subtitle {
    font-size: 1.125rem;
  }
  
  .header__cta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .upload-section,
  .result-section {
    padding: 1.5rem;
  }
  
  .file-upload__dropzone {
    padding: 2rem 1rem;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .color-input {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .info-content {
    padding: 1.5rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .step-item {
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  .sp-only {
    display: inline;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem;
  }
  
  .header {
    padding: 1.5rem 0;
  }
  
  .header__title-keyword {
    font-size: 1rem;
  }
  
  .header__title-brand {
    font-size: 2rem;
  }
  
  .header__subtitle {
    font-size: 1rem;
  }
  
  .header__lead {
    font-size: 0.875rem;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .feature {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    text-align: left;
  }
  
  .feature__icon {
    grid-row: span 2;
    margin-bottom: 0;
  }
  
  .feature__title {
    align-self: end;
  }
  
  .feature__desc {
    align-self: start;
  }
  
  .options-grid {
    padding: 1rem;
  }
  
  .info-content {
    padding: 1rem;
  }
  
  .info-section__title {
    font-size: 1.5rem;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .step-number {
    margin-bottom: 0.5rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
  
  .footer {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }
  
  .footer__text {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
}