/* ===========================
   グローバルリセットと基本設定
   =========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* メインカラー（インディゴ〜バイオレット系） */
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;
  --violet: #7c3aed;
  --violet-light: #8b5cf6;

  /* 背景色 */
  --bg-white: #ffffff;
  --bg-card: #fafbfc;
  --bg-dark: #0f172a;

  /* テキスト色 */
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* ボーダー */
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* その他 */
  --radius: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Segoe UI", sans-serif;
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* コンテナ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

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

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

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

.section-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   ヘッダー / ナビゲーション
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text-dark);
}

/* ナビCTAボタン */
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff !important;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.nav-cta:hover {
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.3);
  transform: translateY(-1px);
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   ブロブ（装飾用の有機形状）
   =========================== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
  top: -80px;
  right: 18%;
  animation: morphBlob 10s ease-in-out infinite alternate;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.25));
  bottom: -60px;
  left: 12%;
  animation: morphBlob 10s ease-in-out infinite alternate;
  animation-delay: -3s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.15), rgba(167, 139, 250, 0.15));
  top: 40%;
  left: 55%;
  animation: morphBlob 8s ease-in-out infinite alternate;
  animation-delay: -5s;
}

@keyframes morphBlob {
  0% {
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    transform: translate(0, 0) scale(1);
  }
  50% {
    border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%;
    transform: translate(30px, -25px) scale(1.08);
  }
  100% {
    border-radius: 50% 50% 40% 60% / 60% 50% 50% 40%;
    transform: translate(-15px, 15px) scale(0.95);
  }
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 128px 0 160px;
  background: var(--bg-dark);
  text-align: center;
}

/* ヒーロー背景画像 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 背景オーバーレイ（テキストを読みやすくする） */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.7) 0%,
    rgba(15, 23, 42, 0.55) 40%,
    rgba(15, 23, 42, 0.75) 100%
  );
  z-index: 0;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 8px 24px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

/* 参考サイトと同じ超太字・超大サイズ */
.hero h1 {
  font-size: 80px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.05em;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===========================
   ボタン
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3);
  transform: translateY(-2px) scale(1.03);
}

/* ボタンの光彩アニメーション */
.btn-glow {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(79, 70, 229, 0.15); }
  50% { box-shadow: 0 6px 36px rgba(79, 70, 229, 0.35); }
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* ヒーロー上のセカンダリボタン（ダーク背景用） */
.btn-secondary-hero {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ===========================
   実績セクション
   =========================== */
.stats {
  padding: 80px 0;
  background: var(--bg-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  border-color: var(--border);
}

.stat-card:hover .stat-emoji {
  transform: scale(1.15);
}

.stat-emoji {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
  transition: transform 0.3s ease;
}

.stat-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 6px;
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all 0.5s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}

.service-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-card:hover .service-img img {
  transform: scale(1.06);
}

.service-card:hover .card-link {
  color: var(--primary);
}

/* サービスカード画像 */
.service-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

/* サービスカード本文 */
.service-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}

.card-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  transition: color var(--transition);
}

/* ===========================
   お知らせセクション
   =========================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.news-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.news-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
}

.tag-green {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
}

.tag-purple {
  background: rgba(124, 58, 237, 0.08);
  color: var(--violet);
}

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

.news-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   会社概要セクション
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.about-mission {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.about-mission h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-mission > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 12px;
}

/* 代表署名 */
.ceo-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.ceo-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.ceo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.ceo-title {
  font-size: 13px;
  color: var(--text-muted);
}

/* 企業情報テーブル */
.about-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.company-info tr {
  border-bottom: 1px solid var(--border-light);
}

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

.company-info th,
.company-info td {
  padding: 16px 0;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.company-info th {
  color: var(--text-dark);
  font-weight: 600;
  width: 120px;
  white-space: nowrap;
}

.company-info td {
  color: var(--text-muted);
}

/* ===========================
   チーム紹介セクション
   =========================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px 24px 32px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.team-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.team-card:hover .team-avatar {
  transform: scale(1.08);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #fff;
  font-weight: 800;
  transition: transform 0.3s ease;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.team-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   ダーク背景セクション（CTA + フッター）
   =========================== */
.dark-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* グリッドオーバーレイ（微細な線パターン） */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.blob-footer-1 {
  width: 500px;
  height: 500px;
  background: rgba(79, 70, 229, 0.1);
  top: -150px;
  right: -80px;
  filter: blur(80px);
  animation: morphBlob 14s ease-in-out infinite alternate;
}

.blob-footer-2 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.08);
  bottom: -120px;
  left: -60px;
  filter: blur(80px);
  animation: morphBlob 12s ease-in-out infinite alternate;
  animation-delay: -4s;
}

/* CTAセクション */
.cta-section {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
}

.cta-box .section-label {
  color: var(--violet-light);
}

.cta-box h2 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===========================
   フッター
   =========================== */
.footer {
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-light span {
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
  line-height: 1.8;
}

.footer h4 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #818cf8;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

/* ===========================
   チャットボット
   =========================== */
.chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.35);
  z-index: 1001;
  transition: all var(--transition);
}

.chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(79, 70, 229, 0.45);
}

.chat-toggle svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.chat-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-height: 520px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.chat-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-avatar svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.chat-header-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.chat-header-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  background: var(--bg-card);
}

.chat-message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  animation: msgIn 0.3s ease;
}

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

.chat-message.bot {
  background: #fff;
  color: var(--text-body);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-light);
}

.chat-message.user {
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
  background: #fff;
}

.chat-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  font-family: inherit;
  transition: border-color var(--transition);
}

.chat-input::placeholder {
  color: var(--text-light);
}

.chat-input:focus {
  border-color: var(--primary-light);
}

.chat-send {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.chat-send:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.chat-send svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* ===========================
   フェードインアニメーション
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===========================
   レスポンシブ対応
   =========================== */

/* タブレット */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 56px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* モバイル */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-desc {
    font-size: 16px;
  }

  /* ナビゲーション */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 18px;
    color: var(--text-dark);
  }

  .hamburger {
    display: flex;
  }

  /* ヒーロー */
  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -0.03em;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* 実績 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 32px 20px;
  }

  .stat-value {
    font-size: 28px;
  }

  /* サービス */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* お知らせ */
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* 会社概要 */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-mission,
  .about-info-card {
    padding: 32px 24px;
  }

  /* チーム */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .team-card {
    padding: 32px 16px 24px;
  }

  /* CTA */
  .cta-box {
    padding: 48px 24px;
  }

  .cta-box h2 {
    font-size: 26px;
  }

  /* フッター */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* チャット */
  .chat-window {
    right: 12px;
    left: 12px;
    bottom: 96px;
    width: auto;
  }
}

/* 小さいモバイル */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
