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

/* --- デザイン変数定義 --- */
:root {
  --primary: #002e5c;       /* ロゴ背景のディープネイビー */
  --primary-light: #0d4b85;
  --primary-dark: #001a36;
  --primary-rgb: 0, 46, 92;
  
  --secondary: #eef4fc;     /* アイスブルー */
  --accent: #ff8c00;        /* アクセント：アプリコットオレンジ */
  --accent-hover: #e07b00;
  --gold: #d4af37;          /* アクセント補助：ゴールド */
  
  --bg-light: #f7fafc;
  --text-main: #2d3748;
  --text-muted: #718096;
  --white: #ffffff;
  
  --font-base: 'Inter', 'Noto Sans JP', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 46, 92, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 46, 92, 0.15);
  
  --border-radius: 12px;
  --border-radius-lg: 24px;
}

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

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

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

li {
  list-style: none;
}

/* --- 共通レイアウト --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

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

/* --- 見出しデザイン --- */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  letter-spacing: 0.05em;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 500;
}

/* --- ボタンデザイン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-weight: 600;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

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

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

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: var(--secondary);
}

/* --- ヘッダー --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 46, 92, 0.06);
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 45px;
  height: 45px;
  /* ネイビー背景のロゴを丸く収める */
  border-radius: 50%;
  background-color: var(--primary);
  padding: 4px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent);
}

.header-cta {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* スマホ用ハンバーガー */
.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.burger-line {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--primary);
  transition: var(--transition);
}

/* --- フッター --- */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.footer-logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-address {
  font-size: 0.85rem;
  font-style: normal;
  line-height: 1.6;
}

.footer-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

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

.footer-link {
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-cta-box {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-cta-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --- レスポンシブナビゲーション (スマホ用) --- */
@media (max-width: 992px) {
  .burger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 100px 40px;
    gap: 40px;
    z-index: 1000;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .nav-link {
    font-size: 1.15rem;
  }
  
  .burger.active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .burger.active .burger-line:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --- スクロールアニメーション用 --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.07;
  background-image: 
    radial-gradient(var(--white) 1px, transparent 0),
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 0),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 40px 40px, 80px 80px, 80px 80px;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(255, 140, 0, 0.15);
  color: #ffaa44;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 140, 0, 0.2);
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white-border {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-white-border:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.8) 0%, rgba(var(--primary-rgb), 0.2) 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 50px rgba(0, 46, 92, 0.5);
  animation: float 6s ease-in-out infinite;
}

.hero-logo-large {
  width: 100%;
  height: 100%;
}

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

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-logo-wrapper {
    width: 200px;
    height: 200px;
    margin-top: 40px;
  }
}

/* ==========================================================================
   課題提起セクション
   ========================================================================== */
.problem-section {
  background-color: var(--bg-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.problem-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.1);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.problem-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.problem-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ミッションセクション
   ========================================================================== */
.mission-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.mission-image {
  display: flex;
  justify-content: center;
}

.mission-img-logo {
  width: 80%;
  max-width: 350px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.mission-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.mission-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.3;
}

.mission-text {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .mission-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .mission-image {
    order: -1;
  }
}

/* ==========================================================================
   サービスドメイン (TOP)
   ========================================================================== */
.services-section {
  background-color: var(--white);
}

.services-domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.domain-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.domain-card:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.1);
}

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

.domain-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  opacity: 0.8;
}

.domain-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.domain-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.domain-list {
  margin-bottom: 32px;
  flex-grow: 1;
}

.domain-list li {
  font-size: 0.95rem;
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-main);
  font-weight: 500;
}

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

.domain-link {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.domain-link span {
  transition: var(--transition);
}

.domain-card:hover .domain-link {
  color: var(--accent);
}

.domain-card:hover .domain-link span {
  transform: translateX(5px);
}

.services-footer-btn {
  text-align: center;
}

/* ==========================================================================
   強みセクション
   ========================================================================== */
.features-section {
  background-color: var(--secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

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

.feature-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(var(--primary-rgb), 0.05);
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-right: 40px;
  line-height: 1.4;
}

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

/* ==========================================================================
   実績・事例ダイジェスト (TOP)
   ========================================================================== */
.works-digest-section {
  background-color: var(--bg-light);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.work-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.1);
}

.work-tag {
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  align-self: flex-start;
  border-bottom-right-radius: var(--border-radius);
}

.work-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-company {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
  display: block;
}

.work-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.work-desc {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.work-link {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.work-link span {
  transition: var(--transition);
}

.work-card:hover .work-link span {
  transform: translateX(4px);
}

.works-footer-btn {
  text-align: center;
}

/* ==========================================================================
   導入の流れ
   ========================================================================== */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  position: relative;
}

.flow-step {
  background-color: var(--white);
  border: 1px solid rgba(0, 46, 92, 0.05);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.flow-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  background-color: rgba(255, 140, 0, 0.08);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

.flow-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

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

/* ==========================================================================
   よくある質問 (FAQ)
   ========================================================================== */
.faq-section {
  background-color: var(--bg-light);
}

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

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 46, 92, 0.02);
}

.faq-question {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}

.faq-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

/* 横線 */
.faq-toggle-icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

/* 縦線 */
.faq-toggle-icon::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.faq-item.active .faq-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-toggle-icon::before {
  background-color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 30px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

/* ==========================================================================
   CTAセクション
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-cta-main {
  background-color: var(--accent);
}

.cta-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   下層ページ共通デザイン
   ========================================================================== */
.page-hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
}

.page-hero-tag {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-hero-section {
    padding: 120px 0 60px;
  }
  .page-hero-title {
    font-size: 2rem;
  }
}

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

/* ==========================================================================
   サービス詳細ページ (services.html)
   ========================================================================== */
.domain-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.domain-badge {
  display: inline-block;
  background-color: rgba(var(--primary-rgb), 0.05);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.bg-light-alt .domain-badge {
  background-color: rgba(255, 140, 0, 0.1);
  color: var(--accent);
}

.domain-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.domain-section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-detail-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 46, 92, 0.03);
}

.service-card-meta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.service-num-tag {
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  margin-top: 2px;
}

.service-detail-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.service-catch {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.5;
}

.service-desc-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* ==========================================================================
   実績・事例ページ (works.html)
   ========================================================================== */
.case-article {
  max-width: 900px;
  margin: 0 auto;
}

.case-divider {
  border: none;
  border-top: 1px solid rgba(0, 46, 92, 0.08);
  margin: 80px auto;
  max-width: 900px;
}

.case-header {
  margin-bottom: 30px;
}

.case-category {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 16px;
}

.case-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 500;
}

.case-summary-box {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
  margin-bottom: 40px;
  border: 1px solid rgba(0, 46, 92, 0.03);
}

@media (max-width: 768px) {
  .case-summary-box {
    grid-template-columns: 1fr;
  }
}

.summary-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-col.highlight {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 140, 0, 0.1);
  justify-content: center;
}

.summary-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.effect-stat {
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 800;
}

.case-sub-title {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  padding-left: 12px;
}

.case-sub-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.case-paragraph {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ==========================================================================
   会社概要ページ (about.html)
   ========================================================================== */
.message-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.message-sub {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.message-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
  line-height: 1.3;
}

.message-paragraph {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.message-signature {
  margin-top: 40px;
  text-align: right;
  padding-right: 40px;
}

.signature-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.signature-name {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.message-logo-graphic {
  display: flex;
  justify-content: center;
}

.large-logo-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .message-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .message-logo-graphic {
    order: -1;
  }
}

.profile-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 46, 92, 0.05);
}

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

.profile-table th,
.profile-table td {
  padding: 24px 30px;
  border-bottom: 1px solid rgba(0, 46, 92, 0.05);
  text-align: left;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}

.profile-table th {
  background-color: var(--bg-light);
  color: var(--primary);
  font-weight: 700;
  width: 250px;
  font-size: 0.95rem;
  vertical-align: top;
}

.profile-table td {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
}

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

.table-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
  }
  .profile-table th {
    padding-bottom: 8px;
    background-color: rgba(var(--primary-rgb), 0.02);
  }
}

/* ==========================================================================
   お問い合わせページ (contact.html)
   ========================================================================== */
.contact-container-inner {
  max-width: 800px;
}

.contact-form-wrapper {
  background-color: var(--white);
  padding: 60px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 46, 92, 0.04);
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 30px 20px;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-logo-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  padding: 6px;
  margin-bottom: 16px;
}

.form-title {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.required-badge {
  background-color: #e53e3e;
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 46, 92, 0.15);
  background-color: var(--bg-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

/* チェックボックスのデザイン */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 6px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  user-select: none;
  line-height: 1.4;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-mark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 46, 92, 0.15);
  border-radius: 4px;
  transition: var(--transition);
}

.checkbox-container:hover input ~ .checkbox-mark {
  border-color: var(--accent);
}

.checkbox-container input:checked ~ .checkbox-mark {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkbox-mark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkbox-mark::after {
  display: block;
}

.checkbox-container .checkbox-mark::after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-policy-agree {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

.policy-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.form-submit-wrapper {
  text-align: center;
  margin-top: 10px;
}

.btn-submit {
  width: 100%;
  max-width: 400px;
  font-size: 1.05rem;
}

/* --- デモリンクセクション --- */
.demo-links-section {
  background-color: var(--bg-light);
}

.demo-category {
  margin-bottom: 30px;
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.demo-category:hover {
  box-shadow: var(--shadow-md);
}

.demo-category-title {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 10px;
}

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

.demo-link-list li {
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  transition: var(--transition);
  background-color: var(--white);
}

.demo-link-list li:last-child {
  margin-bottom: 0;
}

.demo-link-list li:hover {
  background-color: var(--secondary);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.demo-link-list a {
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-grow: 1;
}

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

.external-icon {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.demo-link-list li:hover .external-icon {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.demo-login-info {
  font-size: 0.9rem;
  background-color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--text-main);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.demo-link-list li:hover .demo-login-info {
  border-color: var(--primary-light);
}

.demo-note {
  font-size: 0.85rem;
  color: #e74c3c;
}

