/*
Theme Name: ConnectAI Theme
Theme URI: https://connectai.co.jp
Author: ConnectAI株式会社
Description: ConnectAI株式会社 コーポレートサイト用テーマ
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: connectai
*/

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   リセット・基本設定
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif; color: #1a2d4e; background: #fff; }
a { text-decoration: none; color: inherit; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ナビゲーション
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5eaf2;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { font-size: 1.2rem; font-weight: 700; color: #1155cc; letter-spacing: 0.02em; }
.logo span { color: #ff6b2b; }
.nav-links { display: flex; gap: 2rem; font-size: 0.85rem; color: #3a5070; }
.nav-cta {
  background: #1155cc;
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: #0d47a1; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ヒーローセクション
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  background: linear-gradient(135deg, #0a2a6e 0%, #1155cc 60%, #1a73e8 100%);
  color: #fff;
  padding: 100px 5% 80px;
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,43,0.15) 0%, transparent 70%);
}
.hero-content { max-width: 640px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,107,43,0.25);
  color: #ffb38a;
  border: 1px solid rgba(255,107,43,0.4);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.hero h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
.hero h1 em { color: #ff8c5a; font-style: normal; }
.hero p { font-size: 1rem; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ボタン
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn-primary {
  background: #ff6b2b;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: #e55a1a; transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   セクション共通
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
section { padding: 80px 5%; }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1155cc;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title { font-size: 1.8rem; font-weight: 800; color: #0a2048; line-height: 1.3; margin-bottom: 16px; }
.section-sub { font-size: 1rem; color: #5a6e85; line-height: 1.8; margin-bottom: 48px; max-width: 560px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   お悩みセクション
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pain { background: #f4f7fc; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pain-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border-left: 4px solid #ff6b2b;
  box-shadow: 0 2px 12px rgba(17,85,204,0.07);
}
.pain-icon { font-size: 1.6rem; margin-bottom: 12px; }
.pain-card h3 { font-size: 1rem; font-weight: 700; color: #1a2d4e; margin-bottom: 8px; line-height: 1.5; }
.pain-card p { font-size: 0.88rem; color: #6a7d90; line-height: 1.7; }
.pain-card .solve { margin-top: 12px; font-size: 0.82rem; color: #1155cc; font-weight: 600; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   サービスセクション（タブ）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.services-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 2px solid #e5eaf2;
}
.tab {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #8a9bac;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.tab.active { color: #1155cc; border-bottom-color: #1155cc; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.service-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.service-desc h3 { font-size: 1.4rem; font-weight: 800; color: #0a2048; margin-bottom: 12px; }
.service-desc .tagline { font-size: 1rem; color: #1155cc; font-weight: 600; margin-bottom: 16px; }
.service-desc p { font-size: 0.92rem; color: #5a6e85; line-height: 1.8; margin-bottom: 24px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag { background: #e8f0fb; color: #1155cc; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.industry-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ind-icon { background: #f4f7fc; border-radius: 10px; padding: 16px 8px; text-align: center; font-size: 0.75rem; color: #3a5070; }
.ind-icon span { display: block; font-size: 1.4rem; margin-bottom: 6px; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid #e5eaf2; }
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1155cc;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-info h4 { font-size: 0.95rem; font-weight: 700; color: #0a2048; margin-bottom: 4px; }
.step-info p { font-size: 0.85rem; color: #6a7d90; line-height: 1.6; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   選ばれる理由セクション
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reasons { background: #0a2048; color: #fff; }
.reasons .section-title { color: #fff; }
.reasons .section-sub { color: rgba(255,255,255,0.7); }
.reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.reason-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 28px 24px;
}
.reason-num { font-size: 2rem; font-weight: 900; color: #ff6b2b; line-height: 1; margin-bottom: 12px; }
.reason-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.reason-card p { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   導入実績セクション
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.stats { background: #f4f7fc; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 48px; }
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(17,85,204,0.07);
}
.stat-num { font-size: 2.4rem; font-weight: 900; color: #1155cc; line-height: 1; }
.stat-unit { font-size: 1rem; font-weight: 700; color: #ff6b2b; }
.stat-label { font-size: 0.85rem; color: #6a7d90; margin-top: 8px; }
.voice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.voice-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(17,85,204,0.07); }
.voice-card blockquote { font-size: 0.92rem; color: #3a5070; line-height: 1.8; margin-bottom: 16px; font-style: normal; }
.voice-meta { display: flex; align-items: center; gap: 12px; }
.voice-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #e8f0fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1155cc;
  font-size: 0.85rem;
}
.voice-name { font-size: 0.85rem; font-weight: 700; color: #1a2d4e; }
.voice-job { font-size: 0.78rem; color: #8a9bac; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   会社概要セクション
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.company-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid #e5eaf2; }
.company-table th { width: 120px; text-align: left; padding: 14px 0; font-size: 0.85rem; color: #6a7d90; font-weight: 600; }
.company-table td { padding: 14px 0; font-size: 0.9rem; color: #1a2d4e; }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cert { background: #e8f0fb; color: #1155cc; padding: 6px 14px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; }
.rep-message { background: #f4f7fc; border-radius: 12px; padding: 28px; }
.rep-message h3 { font-size: 1.1rem; font-weight: 800; color: #0a2048; margin-bottom: 16px; }
.rep-message p { font-size: 0.9rem; color: #5a6e85; line-height: 1.9; }
.rep-sig { margin-top: 20px; font-weight: 700; color: #0a2048; font-size: 0.9rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTAセクション・フォーム
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta-section {
  background: linear-gradient(135deg, #ff6b2b 0%, #ff8c5a 100%);
  color: #fff;
  text-align: center;
  padding: 80px 5%;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-section p { font-size: 1rem; color: rgba(255,255,255,0.9); margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-white {
  background: #fff;
  color: #ff6b2b;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px;
}
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.9); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.95);
  color: #1a2d4e;
  font-size: 0.9rem;
  font-family: inherit;
}
.form-group textarea { height: 90px; resize: vertical; }
.form-submit {
  width: 100%;
  background: #0a2048;
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  font-family: inherit;
}
.form-submit:hover { background: #1155cc; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   フッター
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer {
  background: #050f1f;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 24px;
  font-size: 0.82rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   レスポンシブ（スマートフォン対応）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.7rem; }
  .service-layout,
  .company-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
