:root {
  --primary: #2f74ff;
  --primary-light: #5a98ff;
  --primary-dark: #1a49b4;
  --primary-50: #eef6ff;
  --primary-100: #d9eaff;
  --accent: #22c55e;
  --accent-light: #4ade80;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-blue: #eef6ff;
  --text-dark: #1E293B;
  --text-medium: #475569;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --error: #ef4444;
  --success: #22c55e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 15px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--text-medium);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.header-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-50);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* メインボタン（より目立つスタイル） */
.btn-primary.btn-large {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  box-shadow: 0 6px 20px rgba(47, 116, 255, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary.btn-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 116, 255, 0.5);
}
.btn-primary.btn-large:hover::before {
  left: 100%;
}

/* サブボタン（控えめなスタイル） */
.btn-secondary {
  background: var(--bg-light);
  color: var(--text-medium);
  border: 1px solid var(--border);
  font-size: 14px;
  padding: 14px 24px;
}
.btn-secondary:hover {
  background: white;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.btn-accent:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 1px;
}

/* Hero */
#home {
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--bg-white) 60%, var(--bg-white) 100%);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ポジショニングバッジコンテナ */
.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* 個別のバッジ（pill）スタイル */
.hero-badge-pill {
  display: inline-block;
  background: rgba(47, 116, 255, 0.08);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(47, 116, 255, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

.hero-badge-pill:hover {
  background: rgba(47, 116, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(47, 116, 255, 0.15);
}

/* アイコンを追加（オプション） */
.hero-badge-pill::before {
  content: '✓';
  margin-right: 6px;
  color: var(--primary);
  font-weight: 700;
}

.hero-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-title .accent {
  color: var(--primary);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 600;
  background: var(--bg-blue);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 28px;
  line-height: 1.9;
}

.hero-desc strong {
  color: var(--primary);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-buttons .btn {
  padding: 14px 28px;
  font-size: 14px;
}

.hero-buttons .btn-primary {
  box-shadow: 0 4px 14px rgba(47, 116, 255, 0.3);
}

.hero-visual {
  animation: fadeIn 0.6s 0.15s ease both;
}

.hero-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hero-card-label {
  font-size: 11px;
  color: var(--text-light);
}

.hero-card-title {
  font-weight: 600;
  font-size: 14px;
}

.hero-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.hero-step:hover {
  background: var(--primary-50);
  transform: translateX(4px);
}

.hero-step-num {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.hero-step-text {
  font-size: 13px;
  color: var(--text-dark);
}

.floating-tag {
  position: absolute;
  background: var(--bg-white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
}

.floating-tag.top {
  top: -12px;
  right: 16px;
  animation: float 3s ease-in-out infinite;
}

.floating-tag.bottom {
  bottom: -12px;
  left: 16px;
  animation: float 3s 0.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Section */
section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-medium);
  max-width: 560px;
  margin: 0 auto;
}

/* Features */
#features {
  background: var(--bg-light);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  padding: 60px 40px;
  border-bottom: none;
}

.feature-item:nth-child(odd) {
  background: var(--bg-light);
}

.feature-item:nth-child(even) {
  background: var(--bg-white);
}

.feature-item.highlight {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  border-left: 4px solid var(--primary);
}

.feature-item.with-image {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item.with-image.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.feature-item.with-image.reverse .feature-content {
  order: 2;
}

.feature-item.with-image.reverse .feature-image-wrapper {
  order: 1;
}

.feature-content {
  flex: 1;
}

.feature-step {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.feature-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #16a34a 100%);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  margin-bottom: 12px;
  vertical-align: middle;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  animation: aiGlow 2s ease-in-out infinite alternate;
}

.feature-badge.popular {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5), 0 2px 4px rgba(249, 115, 22, 0.3);
  transform: scale(1.02);
  animation: mainPulse 2s ease-in-out infinite alternate;
}

.feature-title {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-desc {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-points li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.6;
}

.feature-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.feature-image-wrapper {
  flex: 1;
}

.feature-image-wrapper.feature-image-double {
  display: flex;
  gap: 20px;
}

.feature-figure {
  margin: 0;
  flex: 1;
}

.feature-image {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-image:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-caption {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .troubles-grid {
    grid-template-columns: 1fr !important;
    max-width: 400px;
    gap: 20px;
  }

  .feature-item {
    padding: 40px 24px;
  }

  .feature-item.with-image,
  .feature-item.with-image.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-item.with-image.reverse .feature-content,
  .feature-item.with-image.reverse .feature-image-wrapper {
    order: unset;
  }

  .feature-title {
    font-size: 18px;
  }

  .feature-image-wrapper.feature-image-double {
    flex-direction: column;
    gap: 16px;
  }
}

/* Lineup */
#lineup {
  background: var(--primary-50);
}

.lineup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lineup-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.lineup-card:hover {
  box-shadow: var(--shadow-md);
}

.lineup-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.lineup-title .blue {
  color: var(--primary);
}

.lineup-title .green {
  color: var(--accent);
}

.lineup-desc {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 16px;
}

.lineup-features {
  list-style: disc;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-dark);
}

.lineup-features li {
  margin-bottom: 6px;
}

.lineup-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.lineup-link:hover {
  text-decoration: underline;
}

/* News */
#news {
  background: var(--bg-light);
}

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

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.news-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.news-desc {
  font-size: 13px;
  color: var(--text-medium);
}

/* Cases */
#cases {
  background: var(--bg-white);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.case-card:hover {
  box-shadow: var(--shadow-md);
}

.case-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

.case-desc {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.8;
}

/* Troubles */
#troubles {
  background: var(--bg-white);
  padding: 80px 0;
}

.troubles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.trouble-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

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

.trouble-text {
  font-size: 17px;
  color: var(--text-dark);
  line-height: 1.8;
  font-weight: 500;
}

.pc-skill-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-skill-center .trouble-text {
  margin: auto;
}

.solution-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary);
  max-width: 1000px;
  margin: 0 auto;
}

.solution-lead {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.8;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}

.solution-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--bg-white);
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 14px;
}

.solution-item p {
  font-size: 17px;
  color: var(--text-medium);
  line-height: 1.8;
  margin: 0;
  flex: 1;
}

/* Pricing */
#pricing {
  background: var(--bg-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 2px solid var(--border);
  transition: all 0.25s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: var(--bg-white);
}

.pricing-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-name .blue {
  color: var(--primary);
}

.pricing-name .green {
  color: var(--accent);
}

.pricing-target {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-note {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.pricing-features li {
  font-size: 13px;
  color: var(--text-medium);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.pricing-card .pricing-btn {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.pricing-card .pricing-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pricing-card.featured .pricing-btn {
  background: var(--primary);
  color: white;
  border: none;
}

.pricing-card.featured .pricing-btn:hover {
  background: var(--primary-dark);
}

.pricing-cta {
  text-align: center;
  margin-top: 40px;
}

.pricing-cta .btn {
  padding: 14px 32px;
  font-size: 15px;
}

/* FAQ */
#faq {
  background: var(--bg-light);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: color 0.2s;
}

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

.faq-icon {
  font-size: 18px;
  color: var(--text-light);
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a p {
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.8;
}

/* Plans Section */
#plans {
  background: var(--bg-light);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 2px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
}

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

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.plan-card.coming-soon {
  opacity: 0.85;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.plan-badge.soon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.plan-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 8px;
}

.plan-title .blue {
  color: var(--primary);
}

.plan-title .green {
  color: var(--accent);
}

.plan-target {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.plan-desc {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-dark);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.plan-price {
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.price-amount {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
}

.price-unit {
  font-size: 13px;
  color: var(--text-light);
  margin-left: 4px;
}

.plan-card .btn {
  display: block;
  text-align: center;
  width: 100%;
}

.btn-disabled {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-light);
  color: var(--text-light);
  border: 1px solid var(--border);
  cursor: not-allowed;
}

.pricing-notes {
  text-align: left;
  margin-top: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--text-medium);
  background: var(--bg-light);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.pricing-notes p {
  margin-bottom: 4px;
  line-height: 1.5;
}

.pricing-notes p:last-child {
  margin-bottom: 0;
}

/* Flow Section */
#flow {
  background: var(--bg-white);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.flow-steps::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.flow-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(47, 116, 255, 0.3);
  position: relative;
  z-index: 1;
}

.flow-content {
  flex: 1;
  padding-top: 8px;
}

.flow-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.flow-desc {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* Company */
#company {
  background: var(--bg-white);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.company-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
}

.company-card-single {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}

.company-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}

.company-table {
  font-size: 13px;
}

.company-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.company-row:last-child {
  border-bottom: none;
}

.company-label {
  font-weight: 500;
  color: var(--text-dark);
}

.company-value {
  color: var(--text-medium);
}

.sitemap-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 13px;
}

.sitemap-list li {
  margin-bottom: 8px;
}

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

.sitemap-list a:hover {
  text-decoration: underline;
}

/* Contact Form */
#contact {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 70px 24px;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  color: white;
  margin-bottom: 32px;
}

.contact-header h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-header p {
  font-size: 14px;
  opacity: 0.9;
}

.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

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

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--error);
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}

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

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}

.form-checkbox label {
  font-size: 13px;
  color: var(--text-medium);
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--primary);
  text-decoration: none;
}

.form-checkbox label a:hover {
  text-decoration: underline;
}

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

.form-submit .btn {
  padding: 14px 48px;
  font-size: 15px;
}

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

/* Form Messages */
.form-message {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.form-message.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block;
}

.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 12px;
  margin-top: 4px;
}

/* Loading State */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}

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

@keyframes aiGlow {
  from {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  }
  to {
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.6), 0 0 8px rgba(34, 197, 94, 0.3);
  }
}

@keyframes mainPulse {
  from {
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5), 0 2px 4px rgba(249, 115, 22, 0.3);
    transform: scale(1.02);
  }
  to {
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.7), 0 4px 8px rgba(249, 115, 22, 0.4);
    transform: scale(1.03);
  }
}

/* Footer */
footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 50px 24px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-section {
  padding-right: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-icon svg {
  width: 100%;
  height: 100%;
}

.footer-brand-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-medium);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-company-list {
  font-size: 12px;
  line-height: 1.8;
}

.footer-company-list dt {
  color: var(--text-light);
  font-weight: 500;
  margin-top: 8px;
}

.footer-company-list dt:first-child {
  margin-top: 0;
}

.footer-company-list dd {
  color: var(--text-medium);
  margin-left: 0;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-link-list a {
  font-size: 13px;
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link-list a:hover {
  color: var(--primary);
}

.footer-contact-info {
  font-size: 13px;
  color: var(--text-medium);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-light);
}

/* Coming Soon / 開発中 */
.coming-soon {
  position: relative;
  opacity: 0.75;
}

.badge-coming-soon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 1;
}

.lineup-link.disabled,
.pricing-btn.disabled {
  color: var(--text-light);
  cursor: not-allowed;
  pointer-events: none;
}

.pricing-btn.disabled {
  background: var(--bg-light);
  border: 1px solid var(--border);
}

/* Disabled select option */
.form-select option:disabled {
  color: var(--text-light);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  nav, .header-buttons {
    display: none;
  }

  .mobile-menu {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  /* Mobile menu active state - hamburger to X animation */
  .mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .mobile-menu span {
    transition: all 0.3s ease;
  }

  /* Mobile navigation */
  nav.active {
    display: block !important;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1001;
    animation: slideDown 0.3s ease;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  nav.active a {
    display: block;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    margin: 0;
    text-align: left;
    font-size: 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s;
  }

  nav.active a:hover {
    background: var(--bg-light);
  }

  nav.active a:last-child {
    border-bottom: 2px solid var(--border);
  }

  /* Header buttons mobile - appended to nav */
  .header-buttons.active {
    display: block !important;
    position: static;
    padding: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  nav.active .header-buttons.active {
    padding-top: 20px;
    margin-top: 8px;
  }

  nav.active .header-buttons.active .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Ensure outline button styles are preserved in mobile menu */
  nav.active .header-buttons.active .btn.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
  }

  nav.active .header-buttons.active .btn.btn-outline:hover {
    background: var(--primary-50);
  }

  nav.active .header-buttons.active .btn.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
  }

  nav.active .header-buttons.active .btn.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
  }

  nav.active .header-buttons.active .btn:last-child {
    margin-bottom: 0;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Animation */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-inner,
  .lineup-grid,
  .cases-grid,
  .policies-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .news-grid,
  .troubles-grid,
  .pricing-grid,
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .solution-box {
    padding: 32px 24px;
  }

  .trouble-card {
    padding: 24px 20px;
  }

  .hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .floating-tag {
    display: none;
  }

  /* Footer responsive */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand-section {
    padding-right: 0;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-company-list {
    text-align: center;
  }

  .footer-link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
  }

  .footer-link-list li {
    margin-bottom: 0;
  }

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

  /* Flow responsive */
  .flow-steps::before {
    left: 20px;
  }

  .flow-number {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .flow-step {
    gap: 16px;
  }

  .flow-title {
    font-size: 16px;
  }

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

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

@media (max-width: 600px) {
  .troubles-grid {
    grid-template-columns: 1fr !important;
    max-width: 350px;
    gap: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  outline: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: rotate(90deg);
}

.lightbox-image {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  animation: zoomIn 0.3s ease;
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: var(--radius-sm);
  text-align: center;
  max-width: 80%;
  animation: slideUp 0.4s ease;
}

/* Clickable images indicator */
.feature-image {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--radius-md);
  position: relative;
}

.feature-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Add zoom icon on hover */
.feature-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.feature-image-wrapper::after {
  content: '🔍';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.feature-image-wrapper:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* Mobile optimizations */
@media (max-width: 900px) {
  .lightbox-image {
    max-width: 95%;
    max-height: 90vh;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  .lightbox-caption {
    bottom: 20px;
    font-size: 12px;
  }
}
