/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0d1b2a;
  --navy2: #132336;
  --green: #00c896;
  --green2: #00a87e;
  --green-glow: rgba(0,200,150,.18);
  --white: #ffffff;
  --off: #f4f7f9;
  --gray: #8a9ab0;
  --text: #1c2b3a;
  --border: rgba(255,255,255,.08);
  --radius: 12px;
  --radius-lg: 20px;
  --table-border: #eef2f6;
  --table-bg-accent: #f8fafc;
  --shadow: 0 4px 32px rgba(0,0,0,.12);
  --shadow-green: 0 8px 40px rgba(0,200,150,.25);
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Syne', sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* BLOG STYLES */
.blog-header {
  padding: 120px 0 60px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: 20px;
}
.blog-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--green);
}
.blog-content p {
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.blog-content ul {
  margin-bottom: 32px;
  padding-left: 20px;
}
.blog-content li {
  margin-bottom: 12px;
}
.blog-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--table-border);
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-card-body {
  padding: 24px;
}
.blog-card-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--green-glow);
  color: var(--green2);
  font-size: .7rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--navy);
}
.blog-card p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.pc-only { display: inline; }

/* ===========================
   UTILITIES
   =========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 24px;
}

.section-desc {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 600px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: var(--shadow-green);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green2);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0,200,150,.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: .95rem;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn-lg { padding: 18px 48px; font-size: 1.05rem; }
.btn-submit { width: 100%; justify-content: center; padding: 18px; font-size: 1.05rem; }

/* SCROLL REVEAL */
.reveal, .fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in { transition-delay: var(--d, 0s); }
.revealed { opacity: 1; transform: none; }

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,27,42,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo span { color: var(--green); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--white); }
.nav-cta {
  background: var(--green);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .85rem !important;
  transition: var(--transition) !important;
}
.nav-cta:hover {
  background: var(--green2);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy2);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  color: rgba(255,255,255,.8);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.mobile-cta {
  margin-top: 16px;
  background: var(--green);
  color: var(--navy) !important;
  font-weight: 700;
  text-align: center;
  padding: 14px !important;
  border-radius: 8px;
  border: none !important;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}
.s1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,150,.3) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}
.s2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,100,200,.2) 0%, transparent 70%);
  bottom: 0; left: -100px;
  animation: floatShape 10s ease-in-out infinite reverse;
}
.s3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,200,150,.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  animation: floatShape 12s ease-in-out infinite 2s;
}
@keyframes floatShape {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-30px) scale(1.1); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,150,.15);
  border: 1px solid rgba(0,200,150,.3);
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-ja);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -.02em;
}

.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 640px;
}
.hero-sub strong { color: var(--green); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-num small { font-size: 1.1rem; color: var(--green); }
.stat-label { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.3);
  font-size: .65rem;
  letter-spacing: .2em;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: 1; }
  50% { opacity: .3; }
}

/* ===========================
   PAIN
   =========================== */
.pain {
  padding: 100px 0;
  background: var(--off);
}
.pain-intro {
  margin-bottom: 32px;
  color: var(--gray);
  max-width: 600px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  transition: transform .3s, box-shadow .3s;
  border: 1px solid #eef2f6;
}
.pain-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.pain-icon-circle {
  width: 64px;
  height: 64px;
  background: var(--off);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.pain-card-content h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.pain-card-content p { font-size: .9rem; line-height: 1.6; color: #4a5568; }
.pain-card strong { color: #e53e3e; }
.pain-arrow {
  text-align: center;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 16px;
  animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.pain-solution {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 28px 40px;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
}
.pain-solution strong { color: var(--green); }

/* ===========================
   MERIT
   =========================== */
.merit { padding: 120px 0; background: var(--white); }

.merit-list { display: flex; flex-direction: column; gap: 60px; margin-top: 64px; }

.merit-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.merit-item--rev .merit-body { order: 2; }
.merit-item--rev .merit-visual { order: 1; }

.merit-num {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 800;
  color: var(--green);
  opacity: .15;
  line-height: 1;
  margin-bottom: -20px;
  display: block;
}
.merit-body { position: relative; }
.merit-body h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}
.merit-body p { color: #5a6a7e; line-height: 1.9; font-size: 1.05rem; }

.merit-visual {
  height: 320px;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
//  box-shadow: var(--shadow);
}
.merit-visual img {
  width: 100%;
  object-fit: cover;
}
.v1 { background: linear-gradient(135deg, #e8f5f2 0%, #c8f0e8 100%); position: relative; overflow: hidden; }
.v1::after {
  content: '¥0';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  opacity: .6;
}
.v2 { background: linear-gradient(135deg, #e8edf5 0%, #c8d8f0 100%); position: relative; overflow: hidden; }
.v2::after {
  content: 'SEO+CV';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 800;
  color: #3a6eb5;
  opacity: .6;
}
.v3 { background: linear-gradient(135deg, #f5f0e8 0%, #f0e0c8 100%); position: relative; overflow: hidden; }
.v3::after {
  content: 'DATA';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 800;
  color: #c07a30;
  opacity: .5;
}

/* ===========================
   TARGET
   =========================== */
.target { padding: 100px 0; background: var(--navy); }
.target .section-label { color: var(--green); }
.target .section-title { color: var(--white); }

.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.target-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  color: var(--white);
}
.target-card:hover {
  background: rgba(0,200,150,.1);
  border-color: rgba(0,200,150,.3);
  transform: translateY(-4px);
}
.target-icon { font-size: 2.5rem; margin-bottom: 16px; }
.target-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.target-card p { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 20px; line-height: 1.6; }

/* 背景が白い場合のカードスタイル（service-detailsなどで使用） */
section:not(.target) .target-card {
  background: var(--off);
  border: 1px solid var(--table-border);
  color: var(--text);
}
section:not(.target) .target-card h3 {
  color: var(--navy);
}
section:not(.target) .target-card p {
  color: var(--text);
  opacity: 0.7;
}
.target-fee {
  background: rgba(0,200,150,.15);
  border: 1px solid rgba(0,200,150,.25);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}
.target-fee strong { color: var(--green); display: block; font-size: .9rem; }
.target-note { color: rgba(255,255,255,.4); font-size: .85rem; margin-top: 24px; text-align: center; }

/* ===========================
   FLOW
   =========================== */
.flow { padding: 120px 0; background: var(--off); }

.flow-steps { display: flex; flex-direction: column; gap: 0; margin-top: 64px; }
.flow-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0;
}
.flow-connector {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--green), transparent);
  margin-left: 68px;
  opacity: .5;
}
.flow-step-num {
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--green);
  padding-top: 4px;
}
.flow-step-body h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}
.flow-step-body p { font-size: .95rem; color: #5a6a7e; line-height: 1.8; }

/* ===========================
   PRICE
   =========================== */
.price { padding: 120px 0; background: var(--white); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.price-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.price-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 48px rgba(0,200,150,.15);
  transform: translateY(-4px);
}
.price-card-header {
  background: var(--navy);
  padding: 20px 28px;
}
.price-genre {
  color: var(--green);
  font-weight: 700;
  font-size: .9rem;
}
.price-body { padding: 24px 28px; }
.price-target-list {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px dashed #f0f0f0;
}
.price-target-list span {
  font-size: .75rem;
  font-weight: 700;
  color: var(--green2);
  display: block;
  margin-bottom: 4px;
}
.price-target-list p {
  font-size: .85rem;
  color: #4a5568;
  line-height: 1.5;
}
.price-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.price-item:last-child { border-bottom: none; }
.price-item span { font-size: .85rem; color: var(--gray); }
.price-item strong { font-size: 1.3rem; font-weight: 900; color: var(--navy); }
.price-note {
  background: #f8fafb;
  padding: 12px 28px;
  font-size: .8rem;
  color: var(--gray);
}
.price-domain {
  margin-top: 24px;
  text-align: center;
  font-size: .85rem;
  color: var(--gray);
}

/* ===========================
   VOICE
   =========================== */
.voice { padding: 100px 0; background: var(--off); }

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.voice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: var(--transition);
}
.voice-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.voice-stars { color: #f6ad55; font-size: 1rem; margin-bottom: 16px; }
.voice-text {
  font-size: .9rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
}
.voice-meta { font-size: .78rem; color: var(--gray); }

/* ===========================
   FAQ
   =========================== */
.faq { padding: 120px 0; background: var(--white); }

.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid #e8ecf0;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  transition: color .2s;
}
.faq-q:hover { color: var(--green); }
.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}
.faq-a.open { max-height: 300px; padding-bottom: 24px; }
.faq-a p { font-size: .95rem; color: #5a6a7e; line-height: 1.8; }

/* ===========================
   CTA SECTION
   =========================== */
.cta-section { padding: 80px 0; background: var(--navy); }
.cta-box {
  text-align: center;
  padding: 64px 40px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,200,150,.2);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(circle, rgba(0,200,150,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-label {
  font-size: .8rem;
  letter-spacing: .2em;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}
.cta-desc {
  color: rgba(255,255,255,.6);
  margin-bottom: 40px;
  font-size: .95rem;
  line-height: 1.8;
}

/* ===========================
   CONTACT
   =========================== */
.contact { padding: 120px 0; background: var(--off); }

.contact-intro {
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.apply-guide {
  margin-top: 24px;
  background: #fff;
  border: 2px solid var(--navy);
  padding: 24px;
  border-radius: var(--radius);
}
.apply-guide p {
  font-size: .95rem;
  color: var(--navy);
  line-height: 1.6;
}
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.required {
  background: #fee2e2;
  color: #e53e3e;
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
input, select, textarea {
  font-family: var(--font-ja);
  font-size: .95rem;
  color: var(--text);
  background: #f8fafb;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,200,150,.15);
}
textarea { resize: vertical; }

.form-privacy { margin-bottom: 24px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .9rem;
  color: #5a6a7e;
  font-weight: 400;
}
.checkbox-label input { width: auto; }
.checkbox-label a { color: var(--green); text-decoration: underline; }

.form-error { color: #e53e3e; font-size: .85rem; margin-bottom: 16px; min-height: 20px; }

/* ===========================
   THANKS MESSAGE
   =========================== */
.thanks-section {
  padding: 100px 0;
  text-align: center;
  background: var(--white);
}
.thanks-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px;
  background: #fdfdfd;
  border-radius: var(--radius-lg);
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.thanks-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}
.thanks-title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 800;
}
.thanks-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5a6a7e;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .thanks-section { padding: 60px 20px; }
  .thanks-box { padding: 32px 20px; }
  .thanks-title { font-size: 1.5rem; }
  .thanks-desc { font-size: 1rem; }
}

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--navy); padding: 80px 0 40px; color: rgba(255,255,255,.6); }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand { max-width: 320px; }
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-top: 16px; }
.footer-logo {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}
.footer-logo span { color: var(--green); }

.footer-nav-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-nav-col h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-nav-col ul { list-style: none; }
.footer-nav-col li { margin-bottom: 12px; }
.footer-nav-col a {
  font-size: .85rem;
  transition: color .2s;
}
.footer-nav-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .75rem; transition: color .2s; }
.footer-legal a:hover { color: var(--green); }
.footer-cr { font-size: .75rem; color: rgba(255,255,255,.3); }

@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 48px; }
  .footer-nav-group { gap: 32px 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===========================
   MODAL
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s;
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 1.1rem;
  color: var(--gray);
  transition: color .2s;
}
.modal-close:hover { color: var(--navy); }
.modal h2 { font-size: 1.3rem; margin-bottom: 20px; color: var(--navy); }
.modal h3 { font-size: 1rem; margin: 20px 0 8px; color: var(--navy); }
.modal p { font-size: .9rem; color: #5a6a7e; line-height: 1.8; }

.toku-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.toku-table th, .toku-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #e8ecf0;
  vertical-align: top;
}
.toku-table th { color: var(--navy); font-weight: 700; width: 38%; background: #f8fafb; }
.toku-table td { color: #5a6a7e; }

/* ===========================
   FIXED CTA
   =========================== */
.fixed-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.fixed-cta.show { opacity: 1; transform: none; pointer-events: all; }

.blog-preview { padding: 100px 0; background: var(--white); }
.service-details { padding: 120px 0; background: var(--white); }
.success { padding: 120px 0; background: var(--off); }
.comparison { padding: 120px 0; background: var(--white); }

/* 業種別ページ用追加スタイル */
.cta { padding: 100px 0; background: var(--navy); color: var(--white); text-align: center; }
.cta-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.3; margin-bottom: 24px; }
.cta-text { font-size: 1.1rem; opacity: 0.8; margin-bottom: 32px; }
.cta-btns { margin-bottom: 16px; }
.cta-note { font-size: 0.85rem; opacity: 0.6; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 48px;
  text-align: left;
}
.footer-brand { max-width: 300px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.footer-nav a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; text-align: center; color: rgba(255,255,255,0.4); font-size: 0.85rem; }

@media (max-width: 768px) {
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .pc-only { display: none; }

  .pain-grid { grid-template-columns: 1fr; }
  .merit-item { grid-template-columns: 1fr; gap: 40px; }
  .merit-item--rev .merit-body { order: 1; }
  .merit-item--rev .merit-visual { order: 2; }
  .merit-visual { height: 240px; }
  .target-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .hero-inner { padding: 60px 24px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.6rem; }
}

@media (max-width: 600px) {
  .section-title { font-size: 1.6rem; }
  .target-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
  .flow-step { grid-template-columns: 1fr; gap: 12px; }
  .flow-connector { margin-left: 0; }
  .cta-box { padding: 40px 24px; }
  .fixed-cta { bottom: 16px; right: 16px; }
  .fixed-cta .btn-primary { padding: 12px 24px; font-size: .9rem; }
}

/* COMPARISON TABLE */
.comparison-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--table-border);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: center;
}
.comparison-table th,
.comparison-table td {
  padding: 24px;
  border-bottom: 1px solid var(--table-border);
}
.comparison-table th {
  font-weight: 700;
  color: var(--navy);
  background: var(--table-bg-accent);
}
.comparison-table .col-target {
  background: rgba(0,200,150,0.03);
  color: var(--green2);
  font-weight: 700;
  border-left: 2px solid var(--green);
  border-right: 2px solid var(--green);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table .check {
  color: var(--green2);
  font-weight: 900;
}
.comparison-table .cross {
  color: #f43f5e;
}

/* SUCCESS STORIES */
.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.success-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--table-border);
}
.success-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--green-glow);
  color: var(--green2);
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.success-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--navy);
}
.success-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text);
}
.success-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--off);
  border-radius: 8px;
}
.success-stat-item span:first-child {
  font-size: 1.25rem;
}
.success-stat-item strong {
  color: var(--green2);
}

@media (max-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 16px;
  }
}
.notice{
  text-align: right;
  padding: 0.4em;
  color: gray;
  opacity: 0.5;
  font-size: 0.8em;
}