/* ベース設定 */
:root {
  --primary-color: #003366;
  --primary-light: #004488;
  --primary-dark: #001a33;
  --accent-color: #00ccff;
  --accent-light: #33d9ff;
  --success-color: #00ff88;
  --text-primary: #ffffff;
  --text-secondary: #b3d9ff;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --bg-primary: #000a1a;
  --bg-secondary: #001122;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(0, 204, 255, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(0, 204, 255, 0.3);
  --gradient-primary: linear-gradient(135deg, #003366 0%, #004488 100%);
  --gradient-accent: linear-gradient(135deg, #00ccff 0%, #0099cc 100%);
  --gradient-hero: linear-gradient(135deg, #000a1a 0%, #001122 50%, #003366 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.logo-icon {
  width: 32px;
  height: 32px;
}

.cube-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
  height: 100%;
}

.cube {
  background: var(--gradient-accent);
  border-radius: 2px;
  animation: cube-pulse 2s infinite alternate;
}

.cube:nth-child(1) {
  animation-delay: 0s;
}
.cube:nth-child(2) {
  animation-delay: 0.2s;
}
.cube:nth-child(3) {
  animation-delay: 0.4s;
}
.cube:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes cube-pulse {
  0% {
    opacity: 0.6;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

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

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--text-primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.btn-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: var(--bg-card);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-glow);
}

.contact-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn-contact:hover .contact-icon {
  transform: translateX(4px);
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/ctns-bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.circuit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-opacity='0.03'%3E%3Cpath d='M50 0v100M0 50h100' stroke='%2300ccff' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='2' fill='%2300ccff'/%3E%3C/g%3E%3C/svg%3E");
  animation: circuit-flow 20s linear infinite;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  opacity: 0.9;
}

@keyframes circuit-flow {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-100px) translateY(-100px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  margin-bottom: 24px;
}

.badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight:600;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.title-line {
  display: block;
}

.title-highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  padding: 24px 0;
}

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

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 64px;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--accent-color);
}

.btn-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

.play-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--bg-primary);
  border-radius: 50%;
  font-size: 10px;
}

/* ヒーロービジュアル */
.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-visualization {
  position: relative;
  width: 400px;
  height: 400px;
}

.data-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.center-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
  animation: core-pulse 3s ease-in-out infinite;
}

@keyframes core-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  animation: orbit-rotate 20s linear infinite;
}

.orbit-1 {
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  animation-duration: 15s;
}

.orbit-2 {
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
  animation-duration: 25s;
}

.orbit-3 {
  width: 350px;
  height: 350px;
  transform: translate(-50%, -50%);
  animation-duration: 35s;
}

@keyframes orbit-rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.data-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-color);
}

.orbit-1 .data-node {
  top: -4px;
}

.orbit-2 .data-node {
  top: -4px;
}

.orbit-3 .data-node {
  top: -4px;
}

.node-1 {
  left: 50%;
  transform: translateX(-50%);
}
.node-2 {
  left: 75px;
  top: 25px;
}
.node-3 {
  left: 25px;
  top: 75px;
}

.node-4 {
  left: 50%;
  transform: translateX(-50%);
}
.node-5 {
  right: 25px;
  top: 25px;
}
.node-6 {
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
}
.node-7 {
  left: 25px;
  bottom: 25px;
}

.node-8 {
  left: 50%;
  transform: translateX(-50%);
}
.node-9 {
  right: 50px;
  top: 50px;
}
.node-10 {
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
}
.node-11 {
  right: 50px;
  bottom: 50px;
}
.node-12 {
  left: 50px;
  bottom: 50px;
}

.data-streams {
  position: absolute;
  width: 100%;
  height: 100%;
}

.stream {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
  animation: stream-flow 3s ease-in-out infinite;
}

.stream-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.stream-2 {
  top: 60%;
  right: 20%;
  animation-delay: 1s;
}

.stream-3 {
  bottom: 30%;
  left: 70%;
  animation-delay: 2s;
}

@keyframes stream-flow {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.5);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* セクション共通スタイル */
section {
  padding: 120px 0;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.section-title.light {
  color: var(--text-primary);
}

.title-highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-highlight-light {
  background: linear-gradient(135deg, #ffffff 0%, #b3d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-description.light {
  color: rgba(255, 255, 255, 0.8);
}

/* 機能セクション */
.features-section {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
}

.feature-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  opacity: 0.5;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-link:hover {
  gap: 12px;
}

.link-arrow {
  transition: transform 0.3s ease;
}

.feature-link:hover .link-arrow {
  transform: translateX(4px);
}

/* 料金セクション */
.pricing-section {
  background: var(--bg-primary);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.discount-badge {
  background: var(--gradient-accent);
  color: var(--bg-primary);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 8px;
}

.toggle-switch {
  position: relative;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch label {
  display: block;
  width: 48px;
  height: 24px;
  background: var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.toggle-switch label::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch input:checked + label {
  background: var(--accent-color);
}

.toggle-switch input:checked + label::after {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-8px);
}

.pricing-card.featured {
  border-color: var(--accent-color);
  background: var(--bg-card-hover);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: var(--bg-primary);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-header {
  text-align: center;
  margin-bottom: 32px;
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.plan-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.currency {
  font-size: 18px;
  color: var(--text-secondary);
}

.amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.amount.custom {
  font-size: 32px;
}

.period {
  font-size: 16px;
  color: var(--text-secondary);
}

.plan-features {
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-secondary);
}

.check-icon {
  width: 20px;
  height: 20px;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.plan-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.plan-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* セキュリティセクション */
.security-section {
  background: var(--bg-secondary);
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.security-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.security-content-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.security-content-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 500px;
}

.shield-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.shield-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  animation: shield-pulse 3s ease-in-out infinite;
}

@keyframes shield-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.shield-icon {
  color: var(--bg-primary);
}

.security-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring {
  position: absolute;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  animation: ring-rotate 20s linear infinite;
}

.ring-1 {
  width: 180px;
  height: 180px;
  top: -90px;
  left: -90px;
  animation-duration: 15s;
}

.ring-2 {
  width: 240px;
  height: 240px;
  top: -120px;
  left: -120px;
  animation-duration: 25s;
  animation-direction: reverse;
}

.ring-3 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation-duration: 35s;
}

@keyframes ring-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.security-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: particle-float 4s ease-in-out infinite;
}

.particle-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}
.particle-2 {
  top: 30%;
  right: 20%;
  animation-delay: 0.5s;
}
.particle-3 {
  bottom: 30%;
  left: 30%;
  animation-delay: 1s;
}
.particle-4 {
  bottom: 20%;
  right: 30%;
  animation-delay: 1.5s;
}
.particle-5 {
  top: 50%;
  left: 10%;
  animation-delay: 2s;
}
.particle-6 {
  top: 50%;
  right: 10%;
  animation-delay: 2.5s;
}

@keyframes particle-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
}

/* お客様の声セクション */
.testimonials-section {
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.testimonial-rating {
  margin-bottom: 20px;
}

.stars {
  color: #ffd700;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* お問い合わせセクション */
.contact-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-opacity='0.05'%3E%3Cpath d='M30 0v60M0 30h60' stroke='%2300ccff' stroke-width='0.5'/%3E%3C/g%3E%3C/svg%3E");
  animation: contact-pattern 30s linear infinite;
}

@keyframes contact-pattern {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-60px) translateY(-60px);
  }
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-primary);
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 204, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:hover .btn-arrow {
  transform: translateX(4px);
}

/* フッター */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

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

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .hero-content,
  .security-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-text {
    text-align: center;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

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

  .pricing-card.featured {
    transform: none;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header-content {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
  }

  .main-nav ul {
    gap: 24px;
    margin: 20px 0;
  }

  .hero-content {
    padding: 120px 0 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .feature-card,
  .testimonial-card {
    padding: 24px;
  }

  .contact-form-container {
    padding: 24px;
  }
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* フォーカス状態 */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* 選択状態 */
::selection {
  background: var(--accent-color);
  color: var(--bg-primary);
}
