/* ========================================
   Speed Web Ver.2 — style.css
   ACHILON DX Service
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

/* ── CSS Variables ── */
:root {
  --color-bg: #04080f;
  --color-bg-2: #0a1120;
  --color-bg-card: #0d1929;
  --color-border: rgba(0, 170, 255, 0.15);
  --color-accent: #00aaff;
  --color-accent-glow: rgba(0, 170, 255, 0.25);
  --color-accent-2: #0066cc;
  --color-text: #e8f0f8;
  --color-text-muted: #7a9ab8;
  --color-white: #ffffff;
  --color-danger: #ff4757;
  --font-main: 'Noto Sans JP', 'Inter', sans-serif;
  --font-en: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 24px rgba(0, 170, 255, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1100px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  opacity: 0.85;
}

/* ── Utility ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--color-bg-2);
}

.tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 170, 255, 0.12);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--color-accent);
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.9;
}

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

.text-center .section-desc {
  margin: 0 auto;
}

/* ── Fade-in Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}

/* ====================================
   HEADER / NAV
   ==================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 8, 15, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

/* ====================================
   HAMBURGER BUTTON
   ==================================== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  z-index: 1100;
  transition: border-color var(--transition);
}

.hamburger-btn:hover {
  border-color: var(--color-accent);
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* 開いたときの X 変形 */
.hamburger-btn.is-open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ====================================
   MOBILE NAV DRAWER
   ==================================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--color-bg-card);
  border-left: 1px solid var(--color-border);
  z-index: 1050;
  padding: 88px 32px 48px;
  flex-direction: column;
  gap: 0;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.mobile-nav-link {
  display: block;
  padding: 18px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.05em;
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-nav-link:hover {
  color: var(--color-accent);
  padding-left: 8px;
  opacity: 1;
}

.mobile-nav-cta {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
}

/* オーバーレイ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1040;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
}

/* ====================================
   HERO VIDEO
   ==================================== */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ====================================
   CONTACT FORM SECTION
   ==================================== */
.contact-section {
  background: var(--color-bg);
}

.contact-header {
  margin-bottom: 56px;
}

.contact-form {
  max-width: 820px;
  margin: 0 auto;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

.required {
  color: var(--color-accent);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: rgba(122, 154, 184, 0.5);
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.12);
  background: rgba(0, 170, 255, 0.04);
}

.form-input.is-error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a9ab8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-select option {
  background: var(--color-bg-card);
  color: var(--color-text);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

.form-error {
  font-size: 0.78rem;
  color: var(--color-danger);
  min-height: 18px;
  display: block;
}

/* Custom Checkbox */
.form-privacy {
  margin-bottom: 28px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all var(--transition);
}

.form-checkbox-label input[type="checkbox"]:checked+.form-checkbox-custom {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.form-checkbox-label input[type="checkbox"]:checked+.form-checkbox-custom::after {
  content: '✓';
  font-size: 0.75rem;
  color: #000;
  font-weight: 900;
}

.form-checkbox-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Submit */
.form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-submit {
  padding: 16px 48px;
  font-size: 1rem;
  min-width: 200px;
  justify-content: center;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-submit.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
  display: inline-block;
}

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

.form-submit-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Contact Success */
.contact-success {
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 48px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.contact-success h3 {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.contact-success p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Responsive form */
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-submit {
    width: 100%;
  }
}

.header-logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

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

.header-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.header-nav a:hover {
  color: var(--color-white);
}

.header-cta {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--color-accent);
  color: #000;
  transition: all var(--transition);
}

.header-cta:hover {
  background: #33bbff;
  color: #000;
  opacity: 1;
  box-shadow: var(--shadow-glow);
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero_bg.png') center / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(4, 8, 15, 0.88) 0%,
      rgba(4, 8, 15, 0.65) 50%,
      rgba(4, 8, 15, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-title .accent {
  color: var(--color-accent);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--color-text-muted);
  line-height: 2;
  max-width: 600px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--color-accent);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(0, 170, 255, 0.4);
}

.btn-primary:hover {
  background: #33bbff;
  color: #000;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 170, 255, 0.55);
}

.btn-primary svg {
  flex-shrink: 0;
}

/* Scroll Indicator */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.scroll-hint-text {
  font-size: 0.75rem;
  font-family: var(--font-en);
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.scroll-hint:hover .scroll-hint-text {
  color: var(--color-accent);
}

.scroll-hint-bar {
  position: relative;
  width: 3px;
  height: 80px;
  background: rgba(0, 170, 255, 0.2);
  overflow: hidden;
  border-radius: 2px;
}

.scroll-hint-runner {
  position: absolute;
  top: -100%;
  left: 0;
  width: 3px;
  height: 55%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 210, 255, 0.6) 30%,
      #00aaff 50%,
      rgba(0, 210, 255, 0.6) 70%,
      transparent 100%);
  box-shadow: 0 0 8px 2px rgba(0, 170, 255, 0.7);
  animation: scrollRun 0.4s linear infinite;
}

@keyframes scrollRun {
  0% {
    top: -50%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    top: 120%;
    opacity: 0;
  }
}

/* Bottom ticker */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(0, 170, 255, 0.08);
  border-top: 1px solid var(--color-border);
  padding: 14px 0;
  overflow: hidden;
}

.hero-ticker-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

.hero-ticker-item {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.7;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ====================================
   PROBLEM SECTION
   ==================================== */

/* SVG speed lines overlay */
#problem {
  position: relative;
  overflow: hidden;
}

#problem .container {
  position: relative;
  z-index: 1;
}

.problem-bg-anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.speed-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.spline {
  animation: speedRush linear infinite;
  transform-origin: 0 0;
}

@keyframes speedRush {
  from {
    transform: translateX(-400px);
  }

  to {
    transform: translateX(110vw);
  }
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.problem-stat-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.stat-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 170, 255, 0.1);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.problem-text .section-title {
  margin-bottom: 24px;
}

.problem-text p {
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.problem-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.keyword-tag {
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: rgba(0, 170, 255, 0.05);
  transition: all var(--transition);
}

.keyword-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ====================================
   FEATURES SECTION
   ==================================== */

/* SVG ultra speed overlay */
#features {
  position: relative;
  overflow: hidden;
}

#features .container {
  position: relative;
  z-index: 1;
}

.features-bg-anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

/* Particle glow */
.feat-particle {
  filter: drop-shadow(0 0 4px #00ccff) drop-shadow(0 0 8px #0099ff);
}

/* カード・コンテンツは透けさせない */
#features .feature-card,
#features .parallel-block,
#features .parallel-side,
#problem .stat-item {
  isolation: isolate;
  position: relative;
}

/* 速度ラインが透けないよう完全不透明に */
#features .feature-card {
  background: #0d1929;
}

#features .parallel-side--left {
  background: #0d1929;
}

#features .parallel-side--right {
  background: #0a1a34;
}

#problem .stat-item {
  background: #0d1929;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header .section-desc {
  margin: 0 auto;
}

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

.feature-card {
  padding: 36px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
  opacity: 0.7;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-white);
  line-height: 1.4;
}

.feature-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.feature-text .note {
  display: inline-block;
  border-bottom: 1px dashed rgba(0, 170, 255, 0.4);
  cursor: help;
}

/* Parallel Work Highlight */
.parallel-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.parallel-side {
  padding: 48px 40px;
}

.parallel-side--left {
  background: var(--color-bg-card);
  border-right: 1px solid var(--color-border);
}

.parallel-side--right {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.15), rgba(0, 170, 255, 0.08));
}

.parallel-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.parallel-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.parallel-step:last-child {
  margin-bottom: 0;
}

.step-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-muted);
  margin-top: 7px;
}

.step-dot--active {
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

.step-text-label {
  font-size: 0.78rem;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.step-text-main {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ====================================
   ACHILON DX SECTION
   ==================================== */
.achilon-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.achilon-logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.achilon-logo {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

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

.achilon-visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dx-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  width: 100%;
}

.dx-node {
  width: 100%;
  max-width: 280px;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: rgba(0, 170, 255, 0.06);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  transition: border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease, transform 0.5s ease;
}

/* 点灯状態（JSで付与） */
.dx-node--lit {
  border-color: var(--color-accent);
  background: rgba(0, 170, 255, 0.22);
  color: var(--color-white);
  box-shadow: 0 0 28px rgba(0, 170, 255, 0.65), inset 0 0 12px rgba(0, 170, 255, 0.15);
  transform: scale(1.04);
}

.dx-node--accent {
  border-color: var(--color-accent);
  background: rgba(0, 170, 255, 0.15);
  color: var(--color-white);
  box-shadow: 0 0 16px rgba(0, 170, 255, 0.2);
}

/* 点灯: .dx-node--accentより後ろに置き詳細度を上げて確実に上書き */
.dx-node.dx-node--lit {
  border-color: #33ccff;
  background: rgba(0, 180, 255, 0.38);
  color: #fff;
  box-shadow: 0 0 36px rgba(0, 170, 255, 0.88),
    0 0 64px rgba(0, 170, 255, 0.35),
    inset 0 0 18px rgba(0, 170, 255, 0.22);
  transform: scale(1.06);
}

.dx-arrow {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  position: relative;
  margin: 0 auto;
}

.dx-arrow::after {
  content: '↓';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-accent);
  font-size: 0.9rem;
}

.dx-arrow--active {
  background: linear-gradient(to bottom, var(--color-accent), rgba(0, 170, 255, 0.3));
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.6);
  height: 32px;
  transition: all 0.5s ease;
}

.achilon-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.achilon-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.point-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 170, 255, 0.15);
  border: 1px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ====================================
   TIMELINE SECTION
   ==================================== */
.timeline-header {
  text-align: center;
  margin-bottom: 72px;
}

.timeline-header .section-desc {
  text-align: center;
  margin: 0 auto;
}

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-bg-2));
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.timeline-item--active .timeline-dot {
  border-color: var(--color-accent);
  box-shadow: 0 0 24px rgba(0, 170, 255, 0.6);
  background: rgba(0, 170, 255, 0.2);
  transform: scale(1.12);
}

.timeline-item--active .timeline-body .timeline-title {
  color: #33ccff;
}

.timeline-dot--start,
.timeline-dot--finish {
  border-color: var(--color-accent);
  background: rgba(0, 170, 255, 0.15);
}

.timeline-body {
  flex: 1;
  padding-top: 12px;
}

.timeline-time {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ====================================
   PRICING BLOCK (CTA内)
   ==================================== */
.pricing-block {
  max-width: 920px;
  margin: 48px auto 56px;
  text-align: left;
}

.pricing-label {
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 28px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.pricing-card {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: visible;
}

.pricing-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

/* 推奨プラン */
.pricing-card--recommended {
  border-color: var(--color-accent);
  background: linear-gradient(145deg, rgba(0, 102, 204, 0.18), rgba(0, 170, 255, 0.08));
  box-shadow: 0 0 28px rgba(0, 170, 255, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: -10px;
  padding: 4px 12px;
  background: var(--color-accent);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

.pricing-plan {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.pricing-price {
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-tax {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.pricing-tax-incl {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  margin-bottom: 2px;
}

.pricing-deadline {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-features li {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* 注意事項 */
.pricing-notices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-left: 2px solid rgba(0, 170, 255, 0.35);
  border-radius: 0 6px 6px 0;
}

.pricing-notice-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 1px;
}

.pricing-notice p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

@media (max-width: 720px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-bg-2) 0%, rgba(0, 51, 102, 0.3) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 170, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

.cta-phone {
  margin-top: 28px;
  padding: 20px 32px;
  background: rgba(0, 170, 255, 0.06);
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: var(--radius-lg);
  display: inline-block;
  text-align: center;
}

.cta-phone-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.cta-phone-number {
  display: block;
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-decoration: none;
  line-height: 1;
  margin-bottom: 6px;
  transition: color var(--transition), text-shadow var(--transition);
}

.cta-phone-number:hover {
  color: #33ddff;
  text-shadow: 0 0 12px rgba(0, 170, 255, 0.6);
}

.cta-phone-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
  background: #000000;
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.footer-brand span {
  color: var(--color-accent);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  opacity: 0.6;
  text-align: center;
  letter-spacing: 0.05em;
}

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

/* タブレット・中間幅 (601px – 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .mobile-nav-overlay {
    display: block;
    pointer-events: none;
  }

  .mobile-nav-overlay.is-open {
    pointer-events: auto;
  }

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

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

  .parallel-block {
    grid-template-columns: 1fr;
  }

  .parallel-side--left {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .parallel-side {
    padding: 32px 24px;
  }

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

  .achilon-visual {
    aspect-ratio: auto;
    height: auto;
    overflow: visible;
    min-height: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .achilon-logo-block {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-badge {
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

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

  .hero-cta-block {
    width: 100%;
  }

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

  .scroll-hint {
    display: none;
  }

  .timeline::before {
    left: 22px;
  }

  .timeline-dot {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .timeline-item {
    gap: 20px;
  }

  /* CTA電話 */
  .cta-phone {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
  }

  .cta-phone-number {
    font-size: 1.5rem;
  }

  .stat-item {
    flex-direction: column;
    gap: 12px;
  }

  .features-header .section-desc {
    font-size: 0.9rem;
  }

  /* 料金プラン */
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-price {
    font-size: 1.7rem;
  }

  /* フォーム */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    gap: 16px;
  }

  /* 問題セクション */
  .problem-stat-block {
    gap: 20px;
  }

  /* ACHILONセクション */
  .achilon-points li {
    font-size: 0.86rem;
  }

  /* サンプルカードセクション */
  .sample-sites-header {
    margin-bottom: 36px;
  }

  .sample-card-body {
    padding: 20px 16px 24px;
  }

  .sample-card-title {
    font-size: 0.92rem;
  }

  .sample-card-desc {
    font-size: 0.78rem;
  }

  .sample-card-btn {
    width: 100%;
    justify-content: center;
  }

  /* フッター */
  .footer {
    padding: 36px 0 24px;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-links a {
    font-size: 0.78rem;
  }
}

/* ====================================
   SAMPLE SITES SECTION
   ==================================== */
.sample-sites-section {
  background: var(--color-bg-2);
}

.sample-sites-header {
  margin-bottom: 56px;
}

.sample-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sample-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sample-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 170, 255, 0.3);
}

/* サムネイル */
.sample-card-thumb {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sample-card-thumb--01 {
  background: linear-gradient(135deg, #050c15 0%, #0a1e38 60%, #071828 100%);
}

.sample-card-thumb--02 {
  background: linear-gradient(135deg, #f3ede3 0%, #e8dfd0 100%);
}

.sample-card-thumb--03 {
  background: linear-gradient(135deg, #e4f0e9 0%, #d0e8da 100%);
}

.sample-thumb-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.sample-thumb-logo {
  font-family: 'Inter', 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.sample-thumb-logo span {
  color: #00d4ff;
}

.sample-thumb-logo--ja {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #2e2720;
}

.sample-thumb-logo--ja span {
  font-size: 1.1rem;
  font-weight: 400;
  color: #7a6e62;
}

.sample-thumb-logo--verde {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #1e3a2f;
}

.sample-thumb-logo--verde span {
  font-size: 0.75rem;
  font-weight: 400;
  color: #4a8c6a;
  letter-spacing: 0.18em;
}

.sample-thumb-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  opacity: 0.6;
}

.sample-card-thumb--01 .sample-thumb-label {
  color: #00aaff;
}

.sample-card-thumb--02 .sample-thumb-label {
  color: #b8963c;
}

.sample-card-thumb--03 .sample-thumb-label {
  color: #4a8c6a;
}

.sample-card-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  opacity: 0.08;
  line-height: 1;
}

.sample-card-thumb--01 .sample-card-num {
  color: #ffffff;
}

.sample-card-thumb--02 .sample-card-num {
  color: #2e2720;
}

.sample-card-thumb--03 .sample-card-num {
  color: #1e3a2f;
}

/* カード本文 */
.sample-card-body {
  padding: 28px 24px 32px;
}

.sample-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.sample-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 170, 255, 0.08);
  border: 1px solid rgba(0, 170, 255, 0.15);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.sample-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.45;
}

.sample-card-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 22px;
}

/* ボタン */
.sample-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--color-accent);
  color: #000;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.sample-card-btn:hover {
  background: #33bbff;
  color: #000;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 170, 255, 0.35);
}

.sample-card-btn--gold {
  background: #b8963c;
  color: #fff;
}

.sample-card-btn--gold:hover {
  background: #d4af6a;
  color: #fff;
  box-shadow: 0 6px 24px rgba(184, 150, 60, 0.35);
}

.sample-card-btn--green {
  background: #2d5a44;
  color: #fff;
}

.sample-card-btn--green:hover {
  background: #4a8c6a;
  color: #fff;
  box-shadow: 0 6px 24px rgba(45, 90, 68, 0.35);
}

@media (max-width: 900px) {
  .sample-cards {
    grid-template-columns: 1fr;
  }
}