/* ==========================================
   LINE履歴書作成LP - メインCSS（統合版）
   元のHTMLデザインを完全再現
   レスポンシブ対応を統合
========================================== */

/* ========================================
   BASE STYLES
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #1f2937;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========================================
 TYPOGRAPHY
======================================== */
h1, h2, h3, h4 {
  font-weight: 700;
  color: #1f2937;
}

.text-green { color: #22c55e; }
.text-blue { color: #3b82f6; }
.text-red { color: #ef4444; }
.text-purple { color: #a855f7; }
.text-yellow { color: #fde047; }
.text-orange { color: #ea580c; }
.text-green-dark { color: #15803d; }

.bold { font-weight: 700; }
.small-text { font-size: 0.875rem; color: #6b7280; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* ========================================
 SECTIONS
======================================== */
.section-white {
  padding: 5rem 0;
  background: #ffffff;
}

.section-gray {
  padding: 5rem 0;
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #6b7280;
}

/* ========================================
 GRID SYSTEM
======================================== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

/* ========================================
 BUTTONS
======================================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  background: #22c55e;
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  transition: all 0.3s;
  box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.3);
  margin: 2rem 0;
}

.cta-button:hover {
  background: #16a34a;
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.4);
}

.cta-button i {
  font-size: 2rem;
  margin-right: 1rem;
}

.cta-button-white {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #22c55e;
  padding: 1rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.cta-button-white:hover {
  background: #f3f4f6;
  color: #16a34a;
}

.cta-button-white i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

/* ========================================
 HERO SECTION
======================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.hero-grid {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 3rem auto 2rem;
  text-align: left;
}

.benefit-item {
  display: flex;
  align-items: center;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.benefit-item i {
  font-size: 2rem;
  color: #22c55e;
  margin-right: 1rem;
  flex-shrink: 0;
}

.benefit-item strong {
  color: #1f2937;
  font-size: 1.125rem;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 2rem;
  border-radius: 9999px;
  margin-top: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.social-proof i {
  color: #22c55e;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.social-proof strong {
  color: #1f2937;
  font-size: 1.125rem;
}

/* ========================================
 CARDS
======================================== */
.card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  transition: all 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card p {
  color: #6b7280;
  line-height: 1.6;
}

.card-subtitle {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ========================================
 ICON CIRCLES
======================================== */
.icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s;
}

.card:hover .icon-circle {
  transform: scale(1.1);
}

.icon-circle i {
  font-size: 2rem;
}

.icon-circle-lg {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon-circle-lg i {
  font-size: 3rem;
}

/* Background Colors */
.bg-red-light { background: #fee2e2; }
.bg-blue-light { background: #dbeafe; }
.bg-green-light { background: #dcfce7; }
.bg-purple-light { background: #f3e8ff; }
.bg-orange-light { background: #fed7aa; }

/* ========================================
 STEP SECTION
======================================== */
.step-section {
  background: linear-gradient(135deg, #dbeafe 0%, #dcfce7 100%);
  padding: 5rem 0;
}

.step-grid {
  display: grid;
  gap: 4rem;
}

.step-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.step-content h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-number {
  width: 4rem;
  height: 4rem;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-title {
  flex: 1;
}

.step-subtitle {
  color: #22c55e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  color: #22c55e;
  font-weight: 600;
}

.step-badge i {
  margin-right: 0.75rem;
  font-size: 1.5rem;
}

.step-image {
  position: relative;
}

.step-badge-number {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 3rem;
  height: 3rem;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
}

/* ========================================
 PREVIEW SECTION
======================================== */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.preview-item {
  text-align: center;
}

.preview-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  margin-bottom: 1.5rem;
}

.preview-card img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

/* PDF Preview with Overlay */
.pdf-preview-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.pdf-preview-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.pdf-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pdf-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #1f2937;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.pdf-preview-btn:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
}

.pdf-preview-btn i {
  font-size: 1.25rem;
}

.preview-placeholder {
  width: 100%;
  height: 24rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.preview-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.preview-item p {
  color: #6b7280;
}

.quality-badge {
  background: linear-gradient(to right, #dcfce7, #dbeafe);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.quality-badge h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-item i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.badge-item span {
  font-weight: 600;
}

/* ========================================
 DOCUMENT DETAILS
======================================== */
.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.doc-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.doc-header {
  text-align: center;
  margin-bottom: 2rem;
}

.doc-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.doc-list {
  list-style: none;
}

.doc-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: #374151;
}

.doc-list i {
  color: #22c55e;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.doc-note {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.doc-note p {
  font-size: 0.875rem;
}

.doc-cta {
  background: linear-gradient(to right, #3b82f6, #22c55e);
  border-radius: 1rem;
  padding: 2rem;
  color: white;
  text-align: center;
  margin-top: 4rem;
}

.doc-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.doc-cta p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* ========================================
 SECURITY SECTION
======================================== */
.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.security-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  transition: all 0.3s;
  border: 1px solid #eee;
}

.security-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.security-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.security-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.security-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* セキュリティへの取り組みボックス */
.security-commitment {
  background: linear-gradient(to right, #f9fafb, #eff6ff);
  border-radius: 16px;
  padding: 40px;
}

.commitment-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
}

.commitment-content h3 i {
  color: #3b82f6;
  margin-right: 8px;
}

.commitment-list {
  list-style: none;
  padding: 0;
}

.commitment-list li {
  padding: 12px 0;
  color: #444;
  display: flex;
  align-items: center;
  gap: 12px;
}

.commitment-list i {
  color: #22c55e;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ========================================
 FEATURE BADGES
======================================== */
.feature-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.feature-badge h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* ========================================
 RECOMMENDED FOR SECTION
======================================== */
.recommended-card {
  text-align: center;
  transition: all 0.3s;
}

.recommended-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
}

.age-badge {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.recommended-desc {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 4rem;
}

.recommended-benefit {
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-top: auto;
}

.recommended-benefit p {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.recommended-benefit i {
  font-size: 1.125rem;
}

.recommended-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.recommended-cta-text {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

/* ========================================
 TESTIMONIALS
======================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.07);
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 16px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-info h4 span {
  font-weight: 400;
  color: #6b7280;
}

.testimonial-info .role {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.stars {
  color: #facc15;
}

.testimonial-text {
  color: #374151;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-result {
  background: #dcfce7;
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.testimonial-result p {
  color: #15803d;
  font-weight: 600;
  font-size: 0.875rem;
}

.stats-box {
  background: linear-gradient(to right, #22c55e, #3b82f6);
  border-radius: 1rem;
  padding: 2rem;
  color: white;
  margin-top: 4rem;
}

.stats-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

/* ========================================
 FAQ
======================================== */
.faq-list {
  max-width: 56rem;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: #22c55e;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  padding-right: 1rem;
  text-align: left;
}

.faq-icon {
  font-size: 1.5rem;
  color: #22c55e;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: #6b7280;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ========================================
 CTA SECTION
======================================== */
.cta-section {
  background: linear-gradient(135deg, #22c55e 0%, #3b82f6 100%);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: white;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.7;
}

/* 3つの特徴 */
.cta-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.cta-feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.cta-feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.cta-feature-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.cta-feature-icon i {
  font-size: 2rem;
  color: white;
}

.cta-feature-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.cta-feature-item p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

/* 緊急性メッセージ */
.cta-urgency {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
}

.cta-urgency h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-urgency p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-check-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.cta-check-item i {
  color: #fde047;
  font-size: 1.25rem;
}

/* 最終CTAボタン */
.final-cta {
  margin-top: 2rem;
}

.cta-button-yellow {
  display: inline-flex;
  align-items: center;
  background: #fde047;
  color: #1f2937;
  padding: 1rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(253, 224, 71, 0.4);
}

.cta-button-yellow:hover {
  background: #facc15;
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(253, 224, 71, 0.5);
}

.cta-button-yellow i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.cta-note {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 1rem;
}

/* 旧スタイル（互換性維持）*/
.cta-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cta-stat {
  text-align: center;
}

.cta-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-stat p {
  margin: 0;
  font-size: 1rem;
}

/* ========================================
 FOOTER
======================================== */
.site-footer {
  background: #1f2937;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.875rem;
  opacity: 0.7;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: white;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-powered {
  font-size: 0.875rem;
  opacity: 0.7;
  margin: 0;
}

.footer-powered a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-powered a:hover {
  opacity: 1;
}

/* ==========================================
   RESPONSIVE STYLES
========================================== */

/* ----------------------------
   1200px以下：PC縮小表示
---------------------------- */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
}

/* ----------------------------
   1024px以下：タブレット
---------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

/* ----------------------------
   1024px以上：PC（ステップセクション左右交互）
---------------------------- */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
  }
  
  .feature-badge-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .step-item {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step-item:nth-child(even) {
    direction: rtl;
  }
  
  .step-item:nth-child(even) > * {
    direction: ltr;
  }
}

/* ----------------------------
   768px以上：タブレット・PC共通
---------------------------- */
@media (min-width: 768px) {
  .grid-2 { 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .grid-3 { 
    grid-template-columns: repeat(3, 1fr); 
  }
  
  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-badge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------
   768px以下：スマホ
---------------------------- */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  .container {
    width: 92%;
  }
  
  /* ヒーロー */
  .hero {
    padding: 3.75rem 0;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 1.875rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  /* セクション */
  .section-white,
  .section-gray,
  .step-section,
  .cta-section {
    padding: 3.75rem 0;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  /* ボタン */
  .cta-button {
    font-size: 1.125rem;
    padding: 1rem 2rem;
  }
  
  /* ステップ */
  .step-content h3 {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
  
  /* PDF Preview - スマホでは常時表示 */
  .pdf-overlay {
    opacity: 1;
  }
  
  .pdf-preview-btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
  }
  
  /* セキュリティ */
  .security-features {
    grid-template-columns: 1fr;
  }
  
  .security-commitment {
    padding: 24px;
  }
  
  /* CTA Features */
  .cta-features {
    grid-template-columns: 1fr;
  }
  
  .cta-check-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .cta-section h2 {
    font-size: 1.75rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
}

/* PCではホバー時に表示 */
@media (min-width: 769px) {
  .pdf-preview-container:hover .pdf-overlay {
    opacity: 1;
  }

  .pdf-preview-container:hover .pdf-preview-image {
    transform: scale(1.05);
  }
}

/* ----------------------------
   480px以下：スマホ小画面
---------------------------- */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 1.25rem;
  }
  
  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .step-text {
    font-size: 1rem;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
}

/* ----------------------------
   375px以下：iPhone SE等
---------------------------- */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.375rem;
  }
  
  .hero-text {
    font-size: 0.9375rem;
  }
  
  .cta-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }
  
  .benefit-item {
    padding: 1rem;
  }
  
  .benefit-item strong {
    font-size: 1rem;
  }
}
/* ========================================
 LANGUAGE SWITCHER
======================================== */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  color: #22c55e;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.lang-link:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.lang-link i {
  font-size: 1.2rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .language-switcher {
      top: 15px;
      right: 15px;
  }
  
  .lang-link {
      padding: 8px 16px;
      font-size: 0.85rem;
  }
  
  .lang-link i {
      font-size: 1rem;
  }
}