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

:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --primary-dark: #0f2440;
  --accent: #e53e3e;
  --text: #1a202c;
  --text-light: #4a5568;
  --text-muted: #718096;
  --bg: #ffffff;
  --bg-gray: #f7fafc;
  --bg-dark: #1a365d;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.sp-only {
  display: none;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

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

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.logo img {
  height: 36px;
  width: auto;
}

.logo-light img {
  filter: brightness(0) invert(1);
}

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

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
}

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

.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700;
}

.btn-nav:hover {
  background: var(--primary-light);
}

.lang-switch {
  font-size: 13px;
  color: var(--gray) !important;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 4px 12px;
}

.lang-switch:hover {
  background: #f7fafc;
  color: var(--primary) !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }

.hamburger.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

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

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

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== セクション共通 ===== */
.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--bg-gray);
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
}

.section-title-light {
  color: #fff;
}

.section-title-light::after {
  background: #fff;
}

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-worldmap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  max-width: 1400px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-desc {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero .btn-primary {
  background: #fff;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 16px 48px;
}

.hero .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===== 課題セクション ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.problem-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== サービス ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

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

.service-main {
  border: 2px solid var(--primary);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== 選ばれる理由 ===== */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.reason-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}

.reason-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.reason-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== 実績 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.industry-tags span {
  background: var(--bg-gray);
  color: var(--text-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

/* ===== 事例 ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

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

.case-region {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.case-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--text);
}

.case-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== 料金 ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

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

.pricing-popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 24px;
  color: var(--text);
}

.price-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
}

.pricing-features {
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

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

.pricing-features i {
  color: var(--primary);
  margin-right: 8px;
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== プロフィール ===== */
.profile-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.profile-photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--border);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 4rem;
}

.profile-content h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-reading {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 12px;
}

.profile-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.profile-career {
  margin-bottom: 24px;
}

.career-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
}

.career-icon {
  color: var(--primary);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.career-item small {
  color: var(--text-muted);
}

.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-item {
  font-size: 0.9rem;
}

.detail-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.detail-item span {
  color: var(--text-light);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
  transition: var(--transition);
}

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

.faq-question i {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

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

.faq-answer p {
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== お問い合わせ ===== */
.contact-desc {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto 40px;
}

/* カスタムフォーム */
.custom-form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 36px 32px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 6px;
}

.form-group .required {
  color: #ef4444;
  font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.15);
}

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

.form-group select option {
  background: #1e293b;
  color: #fff;
}

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

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}

.form-success i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.form-success p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.contact-item i {
  font-size: 1rem;
}

/* ===== セクションサブタイトル ===== */
.section-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: -36px;
  margin-bottom: 48px;
}

/* ===== ヒーロー信頼バッジ ===== */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust i {
  font-size: 0.85rem;
}

/* ===== サービスNDAバッジ ===== */
.service-nda {
  margin-top: 16px;
  padding: 8px 16px;
  background: #f0f4f8;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

.service-nda i {
  margin-right: 4px;
}

/* ===== 選ばれる理由（4カラム） ===== */
.reason-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== 事例タグ ===== */
.case-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.case-bg {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 4px;
}

/* ===== ご利用の流れ ===== */
.flow-grid {
  max-width: 700px;
  margin: 0 auto;
}

.flow-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.flow-item:last-child {
  border-bottom: none;
}

.flow-step {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
}

.flow-content h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.flow-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== 会社概要 ===== */
.company-table-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: left;
}

.company-table th {
  width: 120px;
  color: var(--primary);
  font-weight: 700;
  background: var(--bg-gray);
}

.company-table td {
  color: var(--text-light);
}

/* ===== お問い合わせ方法 ===== */
.contact-methods {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-method {
  text-align: center;
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  min-width: 240px;
}

.contact-method-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.contact-method h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-phone {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.contact-note {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ===== プロフィールメッセージ ===== */
.profile-message {
  margin-top: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== 調査ノウハウ ===== */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.knowledge-card {
  display: block;
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

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

.knowledge-card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.knowledge-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.knowledge-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.knowledge-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.knowledge-card-link i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.knowledge-card:hover .knowledge-card-link i {
  transform: translateX(4px);
}

.nav-knowledge {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* ===== フッター ===== */
.footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

/* ===== アニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .hamburger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li {
    border-bottom: 1px solid var(--border);
  }

  .nav li:last-child {
    border-bottom: none;
    margin-top: 8px;
  }

  .nav a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
  }

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

  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 36px;
  }

  .problem-grid,
  .service-grid,
  .reason-grid,
  .stats-grid,
  .case-grid,
  .pricing-grid,
  .knowledge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-popular {
    transform: scale(1);
  }

  .pricing-popular:hover {
    transform: translateY(-4px);
  }

  .profile-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .profile-photo {
    width: 150px;
    height: 150px;
  }

  .profile-career {
    text-align: left;
  }

  .profile-details {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .reason-grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .flow-item {
    gap: 16px;
  }

  .flow-step {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .contact-method {
    min-width: auto;
    width: 100%;
  }

  .company-table th {
    width: 100px;
  }

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

  .custom-form {
    padding: 24px 20px;
  }
}

/* === リポジショニング: サービス統合レイアウト === */
.service-unified {
  max-width: 800px;
  margin: 0 auto;
}
.service-main-desc {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #f0f4f8;
  border-radius: 12px;
}
.service-main-desc h3 {
  font-size: 1.5rem;
  color: #1a365d;
  margin-bottom: 1rem;
}
.service-main-desc p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5568;
}
.service-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-type {
  text-align: center;
  padding: 1.5rem 1rem;
}
.service-type .service-icon {
  font-size: 2rem;
  color: #1a365d;
  margin-bottom: 0.8rem;
}
.service-type h4 {
  font-size: 1.1rem;
  color: #1a365d;
  margin-bottom: 0.5rem;
}
.service-type p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .service-types {
    grid-template-columns: 1fr;
  }
}

/* === リポジショニング: 料金簡素化 === */
.pricing-simple {
  max-width: 700px;
  margin: 0 auto;
}
.pricing-main-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}
.pricing-main-card .pricing-price {
  margin-bottom: 1rem;
}
.pricing-desc {
  color: #4a5568;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.pricing-includes {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 2rem;
}
.pricing-includes li {
  padding: 0.4rem 0;
  color: #4a5568;
}
.pricing-includes li i {
  color: #1a365d;
  margin-right: 0.5rem;
}
.pricing-examples {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
}
.pricing-examples h3 {
  font-size: 1rem;
  color: #1a365d;
  margin-bottom: 1rem;
  text-align: center;
}
.pricing-example-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.pricing-example {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pe-price {
  font-weight: 700;
  color: #1a365d;
  min-width: 120px;
  white-space: nowrap;
}
.pe-desc {
  color: #4a5568;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .pricing-example {
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
  }
}

/* フローティングCTA */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1a365d;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
  z-index: 1000;
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 54, 93, 0.4);
  color: #fff;
}
.floating-cta i {
  font-size: 1rem;
}
@media (min-width: 769px) {
  .floating-cta {
    bottom: 30px;
    right: 30px;
  }
}

/* 記事末尾CTA */
.article-cta {
  margin: 3rem 0 2rem;
  padding: 2rem;
  background: #f0f4f8;
  border-radius: 12px;
  text-align: center;
}
.article-cta h3 {
  font-size: 1.2rem;
  color: #1a365d;
  margin-bottom: 0.8rem;
}
.article-cta p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ===== Header CTA Button (Phase 1) ===== */
.btn-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  transition: var(--transition);
}
.btn-cta:hover {
  background: #c53030 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.nav-active {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* ===== Page Hero (subpages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 130px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.4;
}
.page-hero p {
  font-size: 1rem;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Service Page ===== */
.service-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.challenge-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.challenge-section:last-child {
  border-bottom: none;
}

.challenge-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.challenge-number {
  background: var(--primary);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.challenge-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  padding-top: 6px;
}

.challenge-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-left: 56px;
}

.challenge-service-item {
  background: var(--bg-gray);
  padding: 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.challenge-service-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.challenge-service-item h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.challenge-service-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Case Page ===== */
.case-detail-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.case-detail-card:hover {
  box-shadow: var(--shadow-lg);
}

.case-detail-header {
  padding: 28px 32px 20px;
}

.case-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.case-detail-headline {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.case-detail-body {
  padding: 0 32px 28px;
}

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

.case-detail-section h4 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-detail-section p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

.case-detail-section ul {
  padding-left: 20px;
  margin: 0;
}

.case-detail-section li {
  list-style: disc;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 4px;
}

.case-detail-result {
  margin-top: 20px;
  padding: 20px 24px;
  background: #f0f4f8;
  border-radius: var(--radius);
}

.case-detail-result h4 {
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.case-detail-result p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Reusable CTA Section ===== */
.section-cta {
  background: var(--bg-dark);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.section-cta h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.section-cta p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}
.section-cta .btn-primary {
  background: #fff;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 16px 48px;
}
.section-cta .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===== Responsive: New Pages ===== */
@media (max-width: 768px) {
  .page-hero {
    padding: 110px 0 40px;
  }
  .page-hero h1 {
    font-size: 1.5rem;
  }
  .challenge-services {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .challenge-header {
    gap: 12px;
  }
  .challenge-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .challenge-title {
    font-size: 1rem;
    padding-top: 4px;
  }
  .case-detail-header {
    padding: 20px;
  }
  .case-detail-body {
    padding: 0 20px 20px;
  }
  .case-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .case-detail-headline {
    font-size: 1.05rem;
  }
  .btn-cta {
    text-align: center;
  }
}
