@charset "UTF-8";

/**
 * エナタイスクール - メインスタイルシート
 * 目次:
 * 1. 基本設定
 * 2. ヘッダー・ナビゲーション
 * 3. トップページ
 * 4. プライバシーポリシーページ
 * 5. FAQページ
 * 6. フッター
 * 7. レスポンシブデザイン
 */

/* ========================================
   1. 基本設定
   ======================================== */

html {
  font-size: clamp(14px, 1.2vw, 16px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hiragino Sans', 'Noto Sans JP', 'メイリオ', sans-serif;
  line-height: 1.7;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Material Icons */
.material-icons-outlined {
  vertical-align: -0.4rem;
  color: #fff;
}

/* ========================================
   2. ヘッダー・ナビゲーション
   ======================================== */

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}

/* Logo */
.logo-anker {
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 50%, #ffd93d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-image {
  object-fit: contain;
  width: 2rem;
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #ff6b6b;
}

/* Dropdown Menu */
.nav-item {
  position: relative;
}

.nav-item.has-dropdown > a::after {
  content: '▼';
  font-size: 0.7rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
  border-bottom: none;
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6f0 100%);
  color: #ff6b6b;
  padding-left: 2rem;
}

.dropdown-menu li:first-child a {
  border-radius: 12px 12px 0 0;
}

.dropdown-menu li:last-child a {
  border-radius: 0 0 12px 12px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1f2937;
  background: none;
  border: none;
  padding: 0.5rem;
}

.mobile-menu-toggle .material-icons-outlined {
  color: #1f2937;
}

/* CTA Header Button */
.cta-header {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
  animation: pulse 2s infinite;
}

.cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
  }
  50% {
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.5);
  }
}

/* ========================================
   3. トップページ
   ======================================== */

/* Hero Section */
.hero {
  background-image: url(./../images/hero01_l.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="180" fill="url(%23a)"/><circle cx="800" cy="300" r="120" fill="url(%23a)"/><circle cx="400" cy="700" r="150" fill="url(%23a)"/></svg>');
  animation: float 20s infinite ease-in-out;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
  z-index: 1;
  pointer-events: none;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  z-index: 2;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Hero Text Elements */
.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0;
  display: inline-block;
  animation: slideInUp 1s ease-out 0.3s backwards;
}

.hero-text h1,
.hero-text .subtitle,
.hero-text .pretitle,
.hero-text p,
.page-hero-content h1,
.page-hero-content p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-text .pretitle {
  font-size: 2.3rem;
  margin-bottom: 1.2rem;
  opacity: 0;
  font-weight: 700;
  animation: slideInUp 1s ease-out 0.5s forwards;
}

.hero-text h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  opacity: 0;
  animation: slideInUp 1s ease-out 0.7s forwards;
}

.hero-text .subtitle {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  opacity: 0;
  font-weight: 600;
  animation: slideInUp 1s ease-out 0.9s forwards;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0;
  animation: slideInUp 1s ease-out 1.1s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideInUp 1s ease-out 1.3s forwards;
}

/* Hero Buttons */
.btn-primary,
.btn-secondary {
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: white;
  color: #ff6b6b;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInRight 1s ease-out 0.8s backwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section Common Styles */
.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 4rem;
  font-weight: 600;
}

/* E-Learning Comparison Section */
.elearning-comparison {
  padding: 6rem 0;
  background: #f8faff;
}

.comparison-intro {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6f0 100%);
  padding: 2.5rem;
  border-radius: 24px;
  border: 3px solid #fbbf24;
  box-shadow: 0 10px 40px rgba(251, 191, 36, 0.2);
}

.comparison-intro h3 {
  font-size: 2rem;
  color: #d97706;
  margin-bottom: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-intro p {
  text-align: justify;
  font-size: 1.15rem;
  color: #374151;
  line-height: 1.9;
}

.comparison-intro strong {
  color: #dc2626;
  font-size: 1.25rem;
}

.bikkuri {
  color: #d97706;
  font-size: 2.5rem;
  line-height: 4rem;
  margin-right: .5rem;
}

/* Comparison Table */
.comparison-table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  color: white;
}

.comparison-table th {
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}

.comparison-table th:first-child {
  text-align: left;
  padding-left: 2rem;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
  background: #f8faff;
}

.comparison-table td {
  padding: 1.5rem;
  text-align: center;
  font-size: 1rem;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #1f2937;
  padding-left: 2rem;
}

.enatai-col {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6f0 100%);
  color: #ff6b6b;
  font-weight: 600;
  border-left: 4px solid #ff6b6b;
  border-right: 4px solid #ff6b6b;
}

.check-mark {
  color: #10b981;
  font-size: 2rem;
  font-weight: bold;
}

.cross-mark {
  color: #ef4444;
  font-size: 2rem;
  font-weight: bold;
}

.triangle-mark {
  color: #f59e0b;
  font-size: 2rem;
  font-weight: bold;
}

.detail-text {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.25rem;
  display: block;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 160, 107, 0.1) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 24px;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(255, 107, 107, 0.2);
  border-color: #ff6b6b;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.feature-icon .material-icons-outlined {
  font-size: 2.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.feature-card p {
  text-align: justify;
  color: #6b7280;
  line-height: 1.8;
}

/* Before-After Section */
.before-after {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
}

.ba-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.ba-text h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #1f2937;
  line-height: 1.3;
}

.ba-text p {
  text-align: justify;
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.before-card,
.after-card {
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
}

.before-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border: 2px solid #f59e0b;
}

.after-card {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #10b981;
}

.before-card h3 {
  color: #92400e;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.after-card h3 {
  color: #047857;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.before-card .material-icons-outlined {
  color: #92400e;
  font-size: 4rem;
  margin: 1.5rem auto;
}

.after-card .material-icons-outlined {
  color: #047857;
  font-size: 4rem;
  margin: 1.5rem auto;
}

.problem-list,
.solution-list {
  list-style: none;
  text-align: left;
}

.problem-list li,
.solution-list li {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.problem-list li {
  color: #92400e;
}

.solution-list li {
  color: #047857;
}

.problem-list li::before {
  content: '❌';
  margin-right: 0.5rem;
}

.solution-list li::before {
  content: '✅';
  margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(255, 107, 107, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.avatar .material-icons-outlined {
  font-size: 2rem;
}

.user-info {
  flex: 1;
}

.user-info h4 {
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #1f2937;
  font-size: 1.1rem;
}

.user-info p {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-card blockquote {
  text-align: justify;
  font-style: italic;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid #ff6b6b;
}

.success-tag {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

/* Social Proof Section */
.social-proof {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 600;
}

/* Final CTA Section */
.final-cta {
  padding: 6rem 0;
  background: #1f2937;
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-content .special-offer {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

.cta-content p {
  text-align: justify;
  max-width: 65%;
  font-size: 1.3rem;
  margin: 3rem auto;
  opacity: 0.9;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  color: white;
  padding: 2rem 4rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.5);
}

.guarantee-text {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.guarantee-text span {
  background: #374151;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin: 0 0.5rem;
}

/* ========================================
   4. プライバシーポリシーページ
   ======================================== */

/* Page Hero */
.page-hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: white;
  padding: clamp(8rem, 15vh, 10rem) 0 clamp(4rem, 8vh, 6rem);
  margin-top: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* プライバシーポリシーページ用 */
.hero-privacy {
  background-image: url(./../images/hero02_l.jpg);
}

/* FAQページ用 */
.hero-faq {
  background-image: url(./../images/hero03_l.jpg);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="180" fill="url(%23a)"/><circle cx="800" cy="300" r="120" fill="url(%23a)"/><circle cx="400" cy="700" r="150" fill="url(%23a)"/></svg>');
  animation: float 20s infinite ease-in-out;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.0625rem;
}

.page-hero span {
  font-size: 4rem;
}

.page-hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.9;
  max-width: 50rem;
  margin: 0 auto;
}

/* Privacy Policy Content */
.privacy-policy,
.terms-service {
  padding: 6rem 0;
  background: #f8faff;
}

.terms-service {
  background: #fff;
}

.policy-container,
.terms-container,
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.policy-intro {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 1rem;
  margin-bottom: 3rem;
  border-left: 0.25rem solid #ff6b6b;
}

.policy-intro p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
  color: #374151;
}

.company-name {
  font-weight: 700;
  color: #1f2937;
}

.policy-section,
.terms-section {
  margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
}

.policy-section h2,
.terms-section h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.1875rem solid #ff6b6b;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.policy-section h2::before {
  content: attr(data-number);
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  color: white;
  width: clamp(2rem, 5vw, 2.5rem);
  height: clamp(2rem, 5vw, 2.5rem);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  flex-shrink: 0;
}

.policy-section p,
.terms-section p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 1rem;
}

.policy-list {
  list-style: none;
  margin: 1.5rem 0;
  padding-left: 0;
}

.policy-list li {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.policy-list li::before {
  content: '●';
  color: #ff6b6b;
  position: absolute;
  left: 0.5rem;
  font-size: 0.8rem;
}

/* Contact Box */
.contact-box {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  color: white;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 1.5rem;
  margin-top: 3rem;
  text-align: center;
}

.contact-box h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.contact-box span {
  font-size: 2rem;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0.625rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.2);
  max-width: 40rem;
  margin: 3rem auto 0;
  transition: all 0.3s ease;
}

.contact-info:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-line {
  text-decoration: none;
  color: #fff;
}

.contact-label {
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.1rem);
  opacity: 0.9;
}

.contact-value {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
}

.contact-value a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-value a:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.update-notice {
  background: #fef3c7;
  border: 0.125rem solid #f59e0b;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 1rem;
  margin-top: 3rem;
  text-align: center;
}

.update-notice p {
  color: #92400e;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  margin: 0;
}

/* ========================================
   5. FAQページ
   ======================================== */

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.qa-block {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qa-item {
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.qa-item:hover {
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.15);
}

.qa-head {
  width: 100%;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6f0 100%);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.qa-head::before {
  content: 'Q';
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.qa-head::after {
  content: '▼';
  position: absolute;
  right: 2rem;
  transition: transform 0.3s ease;
  color: #ff6b6b;
  font-size: 0.8rem;
}

.qa-head.active::after {
  transform: rotate(180deg);
}

.qa-head:hover {
  background: linear-gradient(135deg, #ffedd5 0%, #fecdd3 100%);
}

.qa-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.qa-body.active {
  max-height: 1000px;
}

.qa-body p {
  padding: 1.5rem 2rem 1.5rem 5.5rem;
  color: #4b5563;
  line-height: 1.9;
  font-size: 1rem;
  margin: 0;
  position: relative;
}

.qa-body p::before {
  content: 'A';
  position: absolute;
  left: 2rem;
  top: 1.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

/* Flow Section */
.flow-section {
  padding: 6rem 0;
  background: #f8faff;
}

.flow-container {
  max-width: 1000px;
  margin: 0 auto;
}

.flow-steps {
  position: relative;
  padding: 2rem 0;
}

.flow-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  align-items: flex-start;
}

.flow-step:last-child {
  margin-bottom: 0;
}

.flow-step::after {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 5rem;
  width: 3px;
  height: calc(100% + 3rem);
  background: linear-gradient(180deg, #ff6b6b 0%, #ffa06b 100%);
  z-index: 0;
}

.flow-step:last-child::after {
  display: none;
}

.step-number {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  color: white;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-content h3 .material-icons-outlined {
  color: #ff6b6b;
  font-size: 1.8rem;
}

.step-content p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.step-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.step-content ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.step-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 900;
}

.note-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border-left: 4px solid #f59e0b;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
}

.note-box p {
  margin: 0;
  color: #92400e;
  font-weight: 600;
}

.note-box .material-icons-outlined {
  color: #f59e0b;
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* ========================================
   6. フッター
   ======================================== */

footer {
  background: #111827;
  color: #9ca3af;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section p,
.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: #ff6b6b;
}

.footer-detail {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Page Top Button */
.page-top-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa06b 100%);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.5rem 1.5rem rgba(255, 107, 107, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.25rem);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9998;
}

.page-top-button.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top-button:hover {
  transform: translateY(-0.3125rem) scale(1.05);
  box-shadow: 0 0.75rem 2rem rgba(255, 107, 107, 0.5);
}

.page-top-button:active {
  transform: translateY(0) scale(0.95);
}

.page-top-button svg {
  animation: arrowBounce 2s infinite;
}

.page-top-button:hover svg {
  animation: arrowBounceHover 0.6s ease-in-out;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.25rem);
  }
}

@keyframes arrowBounceHover {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}

/* ========================================
   7. レスポンシブデザイン
   ======================================== */

@media (max-width: 768px) {
  /* Header */
  header {
    padding: 0;
  }

  nav {
    padding: 1rem 0;
    position: relative;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-image {
    width: 1.5rem;
  }

  .mobile-menu-toggle {
    display: block;
    transform: translateY(-5%);
  }

  .cta-header {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  /* Hero Section */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge {
    margin: 2rem 0;
  }

  .hero-text .pretitle {
    font-size: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Before-After & Comparison */
  .ba-content,
  .comparison-cards {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }

  /* Tables */
  .comparison-table-wrapper {
    overflow-x: auto;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
  }

  /* Grids */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Page Hero */
  .page-hero {
    margin-top: 4rem;
  }

  .page-hero span {
    font-size: 3rem;
  }

  /* Page Top Button */
  .page-top-button {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }

  .page-top-button svg {
    width: 20px;
    height: 20px;
  }

  /* FAQ & Flow */
  .flow-step {
    flex-direction: column;
    gap: 1rem;
  }

  .flow-step::after {
    left: 2.5rem;
    top: 5rem;
  }

  .step-number {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }

  .qa-body p {
    padding: 1.5rem 1rem 1.5rem 4.5rem;
  }

  .qa-body p::before {
    left: 1rem;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .qa-head {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .qa-head::before {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  /* Final CTA Section */
  .guarantee-text span {
    display: block;
    width: 12rem;
    margin: 0 auto .5rem;
  }
}