/* ========================================
   RAIZO - Corporate Website Styles
   ======================================== */

:root {
  --primary: #0e4d6e;
  --primary-light: #1a7baa;
  --accent: #e8734a;
  --accent-light: #f09a7a;
  --ocean-start: #0a3d5c;
  --ocean-mid: #0e6b8e;
  --ocean-end: #17a2b8;
  --sand: #fdf6ec;
  --sand-dark: #f5eadb;
  --text: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --gray-50: #f7fafc;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   ナビゲーション
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-img {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
}

.navbar.scrolled .nav-logo-img {
  filter: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.navbar.scrolled .nav-menu a {
  color: var(--text);
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.15);
}

.navbar.scrolled .nav-menu a:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: var(--text);
}

/* ========================================
   ヒーロー
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--ocean-start) 0%, var(--ocean-mid) 40%, var(--ocean-end) 70%, #48c6a9 100%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255,200,120,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 120px 24px 160px;
  max-width: 800px;
}

.hero-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: #ffd700;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232,115,74,0.4);
}

.btn-primary:hover {
  background: #d4643d;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232,115,74,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

/* スクロールインジケーター */
.hero-scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  z-index: 2;
  animation: heroScrollFade 2s ease-in-out infinite;
}

.hero-scroll-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 1px;
  height: 40px;
  background: var(--white);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -40px; }
  50% { top: 40px; }
  100% { top: 40px; }
}

@keyframes heroScrollFade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ========================================
   セクション共通
   ======================================== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--sand);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.section-label.light {
  color: rgba(255,255,255,0.7);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
}

.section-desc.light {
  color: rgba(255,255,255,0.8);
}

/* ========================================
   RAIZOについて
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.about-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ocean-end);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--gray-100);
}

.info-table th,
.info-table td {
  padding: 10px 0;
  text-align: left;
  font-size: 0.95rem;
}

.info-table th {
  color: var(--text-light);
  font-weight: 500;
  width: 100px;
}

.mission-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 2;
}

.check-list {
  list-style: none;
}

.check-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.95rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  background: var(--ocean-end);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L11 5l1 1-5.5 5.5z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.message-card {
  background: linear-gradient(135deg, var(--ocean-start), var(--ocean-mid));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  height: 100%;
}

.message-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.message-card blockquote {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.92;
}

.message-card blockquote p {
  margin-bottom: 16px;
}

.message-cta {
  font-weight: 700;
  font-size: 1.1rem !important;
  opacity: 1 !important;
  color: #ffd700;
}

/* ========================================
   3つのアプローチ
   ======================================== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.approach-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid transparent;
}

.approach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.approach-card[data-color="ai"] { border-top-color: #6366f1; }
.approach-card[data-color="dx"] { border-top-color: var(--ocean-end); }
.approach-card[data-color="line"] { border-top-color: #06c755; }

.approach-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-card[data-color="ai"] .approach-icon { background: #eef2ff; color: #6366f1; }
.approach-card[data-color="dx"] .approach-icon { background: #e6f7fa; color: var(--ocean-end); }
.approach-card[data-color="line"] .approach-icon { background: #e8faf0; color: #06c755; }

.approach-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.approach-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.approach-card[data-color="ai"] .approach-tagline { color: #6366f1; }
.approach-card[data-color="dx"] .approach-tagline { color: var(--ocean-end); }
.approach-card[data-color="line"] .approach-tagline { color: #06c755; }

.approach-card > p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.approach-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-light);
  transition: color 0.2s;
}

.approach-link:hover {
  color: var(--accent);
}

/* ========================================
   サービス詳細（リッチ版）
   ======================================== */
.svc-section {
  padding: 100px 0 80px;
}

/* --- サービスヒーロー --- */
.svc-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}

.svc-hero-text {
  flex: 1;
}

.svc-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.svc-ai .svc-hero-title { color: #4f46e5; }
.svc-dx .svc-hero-title { color: var(--primary); }
.svc-line .svc-hero-title { color: #06c755; }

.svc-hero-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--gray-200);
  display: inline-block;
}

.svc-ai .svc-hero-tagline { color: #6366f1; border-color: #6366f1; }
.svc-dx .svc-hero-tagline { color: var(--ocean-end); border-color: var(--ocean-end); }
.svc-line .svc-hero-tagline { color: #06c755; border-color: #06c755; }

.svc-hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.9;
}

.svc-hero-icon {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-ai .svc-hero-icon { background: #eef2ff; color: #6366f1; }
.svc-dx .svc-hero-icon { background: #e6f7fa; color: var(--ocean-end); }
.svc-line .svc-hero-icon { background: #e8faf0; color: #06c755; }

/* --- サブタイトル --- */
.svc-sub-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}

/* --- 課題カード --- */
.svc-problems-section {
  margin-bottom: 64px;
}

.svc-problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-problem-card {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s;
}

.svc-problem-card:hover {
  transform: translateY(-4px);
}

.svc-problem-icon {
  width: 56px;
  height: 56px;
  background: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #ef4444;
}

.svc-problem-card p {
  font-size: 0.9rem;
  font-weight: 500;
  color: #991b1b;
  line-height: 1.6;
}

/* --- 提供サービス --- */
.svc-offerings {
  margin-bottom: 64px;
}

.svc-offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.svc-offering-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.section-alt .svc-offering-card {
  border-color: var(--sand-dark);
}

.svc-offering-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.svc-offering-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.15;
}

.svc-ai .svc-offering-num { color: #6366f1; }
.svc-dx .svc-offering-num { color: var(--ocean-end); }
.svc-line .svc-offering-num { color: #06c755; }

.svc-offering-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.svc-offering-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- 活用事例 --- */
.svc-use-cases {
  margin-bottom: 48px;
}

.svc-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.svc-case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s;
}

.section-alt .svc-case-card {
  border-color: var(--sand-dark);
}

.svc-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.svc-case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.svc-case-header h4 {
  font-size: 1.05rem;
  color: var(--primary);
}

.svc-case-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  color: var(--white);
  white-space: nowrap;
}

.svc-ai .svc-case-badge { background: #6366f1; }
.svc-dx .svc-case-badge { background: var(--ocean-end); }
.svc-line .svc-case-badge { background: #06c755; }

.svc-case-card > p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- 導入効果 --- */
.svc-effects {
  display: flex;
  gap: 24px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}

.svc-ai .svc-effects { background: linear-gradient(135deg, #eef2ff, #e0e7ff); }
.svc-dx .svc-effects { background: linear-gradient(135deg, #e6f7fa, #d5f0f5); }
.svc-line .svc-effects { background: linear-gradient(135deg, #e8faf0, #d1f7e2); }

.svc-effect-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
}

.svc-ai .svc-effect-item svg { color: #6366f1; }
.svc-dx .svc-effect-item svg { color: var(--ocean-end); }
.svc-line .svc-effect-item svg { color: #06c755; }

.svc-effect-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

/* ========================================
   強み
   ======================================== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strength-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.strength-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ocean-end);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.strength-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.strength-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   導入事例
   ======================================== */
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
}

.case-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  background: var(--ocean-end);
  color: var(--white);
  margin-bottom: 16px;
}

.badge-line { background: #06c755; }
.badge-ai { background: #6366f1; }

.case-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.case-ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.case-before {
  background: #fef2f2;
  border-radius: var(--radius);
  padding: 28px;
}

.case-before h4 {
  color: #ef4444;
  margin-bottom: 12px;
}

.case-before ul {
  list-style: none;
}

.case-before li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.case-before li::before {
  content: '- ';
}

.case-arrow {
  color: var(--primary-light);
}

.case-after {
  background: #f0fdf4;
  border-radius: var(--radius);
  padding: 28px;
}

.case-after h4 {
  color: #16a34a;
  margin-bottom: 16px;
}

.case-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.case-quote blockquote {
  background: var(--sand);
  border-left: 4px solid var(--primary-light);
  padding: 20px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.95rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.case-detail {
  font-size: 0.9rem;
}

.case-detail p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.case-detail h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.case-stats-mini {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.stat-mini {
  flex: 1;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

.stat-mini span {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 4px;
}

/* ========================================
   ご契約の流れ
   ======================================== */
.flow-steps {
  max-width: 700px;
  margin: 0 auto 48px;
}

.flow-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.flow-step:last-child::before {
  display: none;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  padding-top: 4px;
}

.step-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  background: #dcfce7;
  color: #16a34a;
  margin-bottom: 8px;
}

.step-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.flow-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.flow-point {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.flow-point strong {
  color: var(--accent);
}

/* ========================================
   料金
   ======================================== */
.pricing-reason {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-reason h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.pricing-reason ul {
  list-style: none;
}

.pricing-reason li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
}

.pricing-reason li::before {
  content: '-';
  position: absolute;
  left: 4px;
  color: var(--primary-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 24px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: border-color 0.3s;
}

.pricing-card:hover {
  border-color: var(--primary-light);
}

.pricing-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}

.price-row strong {
  font-size: 1.2rem;
  color: var(--accent);
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 48px;
}

.cost-reduction {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.cost-reduction h3 {
  text-align: center;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 28px;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cost-item {
  text-align: center;
}

.cost-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.cost-item p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 52px 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: var(--primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-light);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   お問い合わせ
   ======================================== */
.section-contact {
  background: linear-gradient(160deg, var(--ocean-start) 0%, var(--ocean-mid) 50%, var(--ocean-end) 100%);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: background 0.3s;
}

.contact-card:hover {
  background: rgba(255,255,255,0.18);
}

.contact-icon {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.8);
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.8;
}

/* ========================================
   トップに戻るボタン
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ========================================
   フッター
   ======================================== */
.footer {
  background: #071e2e;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-img {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin-top: 8px;
  font-size: 0.85rem;
}

.footer-sitemap {
  display: flex;
  gap: 48px;
}

.footer-sitemap-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}

.footer-sitemap-col ul {
  list-style: none;
}

.footer-sitemap-col li {
  margin-bottom: 8px;
}

.footer-sitemap-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-sitemap-col a:hover {
  color: var(--white);
}

.footer-info {
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-info p {
  font-size: 0.82rem;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ========================================
   アニメーション
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 1024px) {
  .svc-problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-cases-grid {
    grid-template-columns: 1fr;
  }

  .cost-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SP専用改行（PCでは非表示） */
.sp-br { display: none; }

@media (max-width: 768px) {
  .sp-br { display: inline; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    transition: right 0.3s;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    color: var(--text) !important;
    display: block;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .svc-hero {
    flex-direction: column;
    text-align: center;
  }

  .svc-hero-icon {
    width: 120px;
    height: 120px;
    order: -1;
  }

  .svc-hero-icon svg {
    width: 56px;
    height: 56px;
  }

  .svc-hero-tagline {
    display: block;
    text-align: center;
  }

  .svc-problems-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-offerings-grid {
    grid-template-columns: 1fr;
  }

  .svc-cases-grid {
    grid-template-columns: 1fr;
  }

  .svc-effects {
    flex-direction: column;
    padding: 24px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .service-content {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .case-ba {
    grid-template-columns: 1fr;
  }

  .case-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .flow-points {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cost-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .footer-sitemap {
    gap: 32px;
    justify-content: center;
  }

  .footer-sitemap-col {
    text-align: left;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .hero-scroll {
    bottom: 80px;
  }

  .section {
    padding: 60px 0;
  }

  .section-blog-top {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-content {
    padding: 100px 20px 140px;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.5;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    padding: 14px 32px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section-title {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .about-card {
    padding: 24px;
    margin-bottom: 16px;
  }

  .message-card {
    padding: 28px;
  }

  .message-card blockquote p {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .message-cta {
    font-size: 0.95rem !important;
  }

  .mission-text {
    font-size: 0.95rem;
  }

  .mission-text br {
    display: none;
  }

  .approach-card p {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .svc-hero-title {
    font-size: 1.5rem;
  }

  .svc-hero-desc {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .svc-sub-title {
    font-size: 1.05rem;
  }

  .svc-problems-grid {
    gap: 12px;
  }

  .svc-problem-card {
    padding: 20px 14px;
  }

  .svc-problem-card p {
    font-size: 0.8rem;
  }

  .case-card {
    padding: 24px;
  }

  .case-featured h3 {
    font-size: 1.1rem;
  }

  .stat-value {
    font-size: 1.3rem;
  }

  .flow-step {
    padding-bottom: 28px;
  }

  .step-content p {
    font-size: 0.85rem;
  }

  .pricing-card {
    padding: 28px;
  }

  .contact-card {
    padding: 28px 20px;
  }

  .footer-info p {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .blog-card-title {
    font-size: 0.95rem;
  }

  .blog-card-excerpt {
    font-size: 0.8rem;
  }

  .btn-outline-dark {
    padding: 12px 32px;
    font-size: 0.9rem;
  }

  .nav-logo-img {
    height: 52px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 90px 16px 120px;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .hero-title br {
    display: none;
  }

  .hero-sub {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.15rem;
  }

  .svc-hero-desc {
    font-size: 0.85rem;
  }

  .approach-card p {
    font-size: 0.8rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .case-stats-mini {
    flex-direction: column;
  }

  .cost-grid {
    grid-template-columns: 1fr;
  }

  .svc-problems-grid {
    grid-template-columns: 1fr;
  }

  .info-table th {
    width: 80px;
    font-size: 0.85rem;
  }

  .info-table td {
    font-size: 0.85rem;
  }

  .case-ba {
    gap: 16px;
  }

  .case-before,
  .case-after {
    padding: 20px;
  }

  .flow-points {
    gap: 10px;
  }

  .flow-point {
    font-size: 0.8rem;
    padding: 12px 14px;
  }

  .footer-info p {
    font-size: 0.7rem;
  }
}

/* ========================================
   ブログセクション
   ======================================== */
.section-blog-top {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.blog-card-body {
  padding: 20px 24px 24px;
}

.blog-card-date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.blog-more {
  text-align: center;
  margin-top: 40px;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(14,77,110,0.25);
}

/* Blog Modal */
.blog-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}

.blog-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: blogModalIn 0.3s ease;
}

@keyframes blogModalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.blog-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
  line-height: 1;
}

.blog-modal-close:hover {
  background: rgba(0,0,0,0.7);
}

.blog-modal-thumb {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.blog-modal-content {
  padding: 36px 40px 40px;
}

.blog-modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-modal-meta time {
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-modal-content h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-100);
}

.blog-modal-body {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 2;
}

.blog-modal-body h2 {
  font-size: 1.3rem;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ocean-end);
}

.blog-modal-body h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 24px 0 12px;
}

.blog-modal-body p {
  margin-bottom: 16px;
}

.blog-modal-body ul,
.blog-modal-body ol {
  margin: 12px 0 12px 24px;
}

.blog-modal-body li {
  margin-bottom: 6px;
}

.blog-modal-body a {
  color: var(--primary-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .blog-modal-content {
    padding: 20px 16px 24px;
  }

  .blog-modal-content h2 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .blog-modal-body {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .blog-modal-body h2 {
    font-size: 1.1rem;
    margin: 24px 0 12px;
  }

  .blog-modal-body h3 {
    font-size: 1rem;
    margin: 20px 0 10px;
  }

  .blog-modal-overlay {
    padding: 16px 8px;
  }

  .blog-modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
    top: 12px;
    right: 12px;
  }

  .blog-modal-thumb {
    max-height: 200px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
