/* ===================================
   基本設定・リセット
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ダークオレンジ×ネイビーアクセント - 無骨でクリーン */
  --primary: #c85a00;
  --primary-dark: #a04800;
  --primary-light: #e06a10;
  --primary-pale: #fff4ed;

  /* アクセントカラー */
  --accent: #1e3a5f;
  --accent-light: #2c5282;
  --accent-purple: #553c7b;

  /* ライトカラー */
  --bg-main: #ffffff;
  --bg-white: #ffffff;
  --bg-dark: #1a1a2e;
  --bg-section: #f7f7f7;
  --bg-alt: #f0f0f0;
  --bg-card: #ffffff;

  --text-dark: #1a1a1a;
  --text-body: #333333;
  --text-muted: #666666;
  --text-light: #999999;

  --border: #d0d0d0;
  --border-light: #e5e5e5;

  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-accent: 0 4px 20px rgba(200, 90, 0, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "M PLUS 1p", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-main);
  font-weight: 300;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
  background: #ffffff;
  border-bottom: 3px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-family: "Oswald", "M PLUS 1p", sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.2px;
}

.logo-accent {
  color: var(--primary);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav a {
  display: block;
  padding: 10px 18px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: all 0.2s;
}

.nav a:hover {
  background-color: var(--primary-pale);
  color: var(--primary);
}

.nav .nav-cta {
  background: var(--primary);
  color: #ffffff;
}

.nav .nav-cta:hover {
  background: var(--primary-dark);
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
  margin-top: 72px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

/* 波形背景 */
.hero-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(160deg, #ffffff 0%, #fdf8f5 40%, #faf0eb 100%);
}

.wave-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

/* 波のアニメーション */
.wave-path {
  stroke-linecap: round;
}

.wave-1 {
  animation: waveFloat1 8s ease-in-out infinite;
  transform-origin: center;
}

.wave-2 {
  animation: waveFloat2 10s ease-in-out infinite;
  transform-origin: center;
}

.wave-3 {
  animation: waveFloat3 7s ease-in-out infinite;
  transform-origin: center;
}

.wave-4 {
  animation: waveFloat4 12s ease-in-out infinite;
  transform-origin: center;
}

.wave-5 {
  animation: waveFloat5 9s ease-in-out infinite;
  transform-origin: center;
}

@keyframes waveFloat1 {
  0%,
  100% {
    d: path(
      "M-100,450 C150,350 300,550 500,400 S800,250 1000,450 S1300,550 1540,400"
    );
    transform: translateY(0px);
  }
  25% {
    d: path(
      "M-100,420 C150,320 300,520 500,380 S800,280 1000,480 S1300,520 1540,380"
    );
    transform: translateY(-20px);
  }
  50% {
    d: path(
      "M-100,480 C150,380 300,580 500,430 S800,230 1000,430 S1300,580 1540,430"
    );
    transform: translateY(10px);
  }
  75% {
    d: path(
      "M-100,440 C150,340 300,540 500,390 S800,260 1000,460 S1300,540 1540,390"
    );
    transform: translateY(-10px);
  }
}

@keyframes waveFloat2 {
  0%,
  100% {
    d: path(
      "M-100,500 C200,400 350,600 550,450 S850,300 1050,500 S1350,600 1540,450"
    );
    transform: translateY(0px) translateX(0px);
  }
  20% {
    d: path(
      "M-100,520 C200,420 350,580 550,470 S850,320 1050,520 S1350,580 1540,470"
    );
    transform: translateY(15px) translateX(-10px);
  }
  40% {
    d: path(
      "M-100,480 C200,380 350,620 550,430 S850,280 1050,480 S1350,620 1540,430"
    );
    transform: translateY(-15px) translateX(5px);
  }
  60% {
    d: path(
      "M-100,510 C200,410 350,590 550,460 S850,310 1050,510 S1350,590 1540,460"
    );
    transform: translateY(20px) translateX(-5px);
  }
  80% {
    d: path(
      "M-100,490 C200,390 350,610 550,440 S850,290 1050,490 S1350,610 1540,440"
    );
    transform: translateY(-10px) translateX(10px);
  }
}

@keyframes waveFloat3 {
  0%,
  100% {
    d: path(
      "M-100,400 C100,300 250,500 450,350 S750,200 950,400 S1250,500 1540,350"
    );
    transform: translateY(0px);
  }
  33% {
    d: path(
      "M-100,380 C100,280 250,480 450,330 S750,220 950,420 S1250,480 1540,330"
    );
    transform: translateY(-25px);
  }
  66% {
    d: path(
      "M-100,420 C100,320 250,520 450,370 S750,180 950,380 S1250,520 1540,370"
    );
    transform: translateY(15px);
  }
}

@keyframes waveFloat4 {
  0%,
  100% {
    d: path(
      "M-100,550 C250,450 400,650 600,500 S900,350 1100,550 S1400,650 1540,500"
    );
    transform: translateY(0px) translateX(0px);
  }
  30% {
    d: path(
      "M-100,570 C250,470 400,630 600,520 S900,370 1100,570 S1400,630 1540,520"
    );
    transform: translateY(20px) translateX(-15px);
  }
  70% {
    d: path(
      "M-100,530 C250,430 400,670 600,480 S900,330 1100,530 S1400,670 1540,480"
    );
    transform: translateY(-15px) translateX(10px);
  }
}

@keyframes waveFloat5 {
  0%,
  100% {
    d: path(
      "M-100,350 C50,250 200,450 400,300 S700,150 900,350 S1200,450 1540,300"
    );
    transform: translateY(0px);
  }
  50% {
    d: path(
      "M-100,330 C50,230 200,430 400,280 S700,170 900,370 S1200,430 1540,280"
    );
    transform: translateY(-20px);
  }
}

/* パーティクル効果 */
.wave-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 90, 0, 0.15) 0%,
    rgba(200, 90, 0, 0) 70%
  );
}

.particle-1 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 20%;
  animation: particleFloat1 8s ease-in-out infinite;
}

.particle-2 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 60%;
  animation: particleFloat2 10s ease-in-out infinite;
}

.particle-3 {
  width: 80px;
  height: 80px;
  top: 40%;
  left: 80%;
  animation: particleFloat3 9s ease-in-out infinite;
}

.particle-4 {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 30%;
  animation: particleFloat4 11s ease-in-out infinite;
}

.particle-5 {
  width: 70px;
  height: 70px;
  top: 25%;
  left: 45%;
  animation: particleFloat5 7s ease-in-out infinite;
}

@keyframes particleFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translate(30px, -20px) scale(1.2);
    opacity: 0.35;
  }
  50% {
    transform: translate(-20px, 30px) scale(0.8);
    opacity: 0.15;
  }
  75% {
    transform: translate(15px, 15px) scale(1.1);
    opacity: 0.25;
  }
}

@keyframes particleFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  33% {
    transform: translate(-25px, 20px) scale(1.3);
    opacity: 0.3;
  }
  66% {
    transform: translate(20px, -15px) scale(0.9);
    opacity: 0.2;
  }
}

@keyframes particleFloat3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.18;
  }
  50% {
    transform: translate(-30px, -25px) scale(1.4);
    opacity: 0.32;
  }
}

@keyframes particleFloat4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.12;
  }
  40% {
    transform: translate(25px, 30px) scale(1.2);
    opacity: 0.25;
  }
  80% {
    transform: translate(-15px, -20px) scale(0.85);
    opacity: 0.18;
  }
}

@keyframes particleFloat5 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }
  50% {
    transform: translate(20px, -30px) scale(1.5);
    opacity: 0.4;
  }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 0px 22px;
  font-size: 24px;
  font-weight: 200;
  letter-spacing: 1px;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.hero-title {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .small-text {
  font-size: 0.75em;
  font-weight: 900;
  color: var(--text-dark);
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 8px;
  background: rgba(200, 90, 0, 0.2);
  z-index: -1;
}

.hero-subtitle {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 32px;
  letter-spacing: 0.5px;
}

.hero-points {
  list-style: none;
}

.hero-points li {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-dark);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--primary);
  flex-shrink: 0;
}

.check-icon::before {
  content: "";
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  margin-bottom: 3px;
}

/* フォームカード */
.hero-form-wrapper {
  position: relative;
}

.form-card {
  background: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-header {
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
}

.form-header h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.form-header p {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}

.trial-form {
  padding: 28px;
  background: #fafafa;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.required {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  border: 2px solid var(--border);
  background: #ffffff;
  color: var(--text-dark);
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 90, 0, 0.15);
}

.form-group input::placeholder {
  color: var(--text-light);
}

.submit-btn {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-accent);
  font-family: inherit;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 90, 0, 0.35);
}

.btn-arrow {
  font-size: 14px;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ===================================
   サービス説明
   =================================== */
.about {
  background: var(--bg-section);
  padding: 100px 0;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-box {
  background: #ffffff;
  border: none;
  border-left: 5px solid var(--primary);
  padding: 36px;
  box-shadow: var(--shadow);
}

.about-box-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
}

.about-box p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-body);
}

.about-box strong {
  color: var(--primary);
  background: var(--primary-pale);
  padding: 2px 6px;
  font-weight: 800;
}

/* ===================================
   機能紹介
   =================================== */
.features {
  background: #ffffff;
  padding: 100px 0;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 2px solid var(--border-light);
  border-top: 5px solid var(--primary);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-number {
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ===================================
   安心機能
   =================================== */
.safety {
  background: var(--primary-pale);
  padding: 100px 0;
}

.safety-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.safety-card {
  background: #ffffff;
  border: none;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
}

.safety-card:hover {
  transform: translateY(-4px);
}

.safety-icon {
  margin-bottom: 20px;
  color: var(--primary);
}

.safety-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.safety-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ===================================
   ご利用の流れ
   =================================== */
.flow {
  background: var(--bg-section);
  padding: 100px 0;
}

.flow-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.flow-step {
  background: #ffffff;
  border: 2px solid var(--border-light);
  padding: 32px 20px;
  text-align: center;
  width: 180px;
  transition: all 0.3s;
}

.flow-step:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: var(--shadow-accent);
}

.step-content h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 12px;
  color: var(--text-muted);
}

.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
  margin-top: 50px;
}

/* ===================================
   料金プラン
   =================================== */
.pricing {
  background: linear-gradient(180deg, #fdf8f5 0%, #faf0eb 100%);
  padding: 100px 0;
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pricing-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
}

.pricing-badge.badge-orange {
  background: #f97316;
}

.pricing-badge.badge-yellow {
  background: #eab308;
}

.pricing-plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-top: 16px;
  margin-bottom: 16px;
}

.pricing-price {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.price-amount {
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #e8f5e9;
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-check::before {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #4caf50;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: #ffffff;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

.pricing-btn:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

/* ===================================
   よくある質問
   =================================== */
.faq {
  background: #ffffff;
  padding: 100px 0;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 2px solid var(--border-light);
  overflow: hidden;
  transition: border-color 0.3s;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background-color 0.2s;
  font-family: inherit;
}

.faq-question:hover {
  background-color: var(--primary-pale);
}

.q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-question span:nth-child(2) {
  flex: 1;
}

.faq-toggle {
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s;
  font-weight: 300;
}

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

.faq-answer {
  display: none;
  padding: 4px 24px 24px 72px;
}

.faq-item.active .faq-answer {
  display: flex;
  gap: 16px;
}

.a-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--text-muted);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ===================================
   CTA
   =================================== */
.cta {
  background: var(--primary);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  display: none;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 20px 52px;
  font-size: 17px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.cta-btn:hover {
  text-decoration: none;
  transform: translateY(-3px);
}

.cta-btn.primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4a 50%, #ffd700 100%);
  color: var(--text-dark);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 215, 0, 0.4);
  font-size: 20px;
  padding: 24px 60px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow:
      0 8px 30px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow:
      0 8px 40px rgba(0, 0, 0, 0.4),
      0 0 35px rgba(255, 215, 0, 0.6);
  }
}

.cta-btn.primary:hover {
  background: linear-gradient(135deg, #ffed4a 0%, #fff176 50%, #ffed4a 100%);
  box-shadow:
    0 12px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 215, 0, 0.7);
  animation: none;
}

.cta-btn.secondary {
  background: transparent;
  color: #ffffff;
  border: 3px solid #ffffff;
}

.cta-btn.secondary:hover {
  background: #ffffff;
  color: var(--primary-dark);
}

/* ===================================
   フッター
   =================================== */
.footer {
  background: var(--accent);
  color: white;
  padding-top: 70px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-logo .logo-text,
.footer .logo-text {
  color: white;
}

.footer .logo-accent {
  color: var(--primary-light);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  color: var(--primary-light);
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   モーダル
   =================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border: 3px solid var(--primary);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 2px solid var(--border);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.modal-header {
  background: var(--primary);
  color: #ffffff;
  padding: 28px;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 800;
}

.contact-form {
  padding: 28px;
  background: #fafafa;
}

.success-content {
  text-align: center;
  padding: 60px 40px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #2e7d32;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
}

.success-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.success-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.success-content .submit-btn {
  width: auto;
  padding: 14px 48px;
  font-size: 16px;
}

/* ===================================
   固定フッターCTA
   =================================== */
.fixed-footer-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #2c4a6e 100%);
  padding: 16px 24px;
  z-index: 1500;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.fixed-footer-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

.fixed-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fixed-footer-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fixed-footer-label {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fixed-footer-label .highlight-text {
  color: #ffd700;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(255, 215, 0, 0.3) 60%
  );
  padding: 0 4px;
}

.fixed-footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.fixed-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: #ffffff;
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 900;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(200, 90, 0, 0.4);
  animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(200, 90, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(200, 90, 0, 0.6);
  }
}

.fixed-footer-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200, 90, 0, 0.6);
  animation: none;
}

.fixed-footer-btn .btn-arrow {
  font-size: 14px;
}

/* フッターに固定CTAの高さ分のパディングを追加 */
.footer {
  padding-bottom: 80px;
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .nav ul {
    gap: 4px;
  }

  .nav a {
    padding: 8px 12px;
    font-size: 11px;
  }

  .hero {
    margin-top: 64px;
  }

  .hero-inner {
    padding: 50px 20px;
  }

  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 28px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .flow-step {
    width: 100%;
    max-width: 320px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .fixed-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .fixed-footer-text {
    align-items: center;
  }

  .fixed-footer-label {
    font-size: 16px;
  }

  .fixed-footer-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 32px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 20px;
  }

  .nav {
    display: none;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .form-header h2 {
    font-size: 17px;
  }

  .section-title {
    font-size: 24px;
  }

  .cta-title {
    font-size: 24px;
  }
}
