/* ============================
   全体設定
   ============================ */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937; /* ダークグレー */
  background-color: #ffffff; /* 完全な白 */
}

/* ============================
   ヘッダー（ホワイト + シャドウ）
   ============================ */
header {
  background-color: #ffffff; /* 白 */
  color: #1f2937;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); /* 下に薄い影 */
}

/* ロゴ画像 */
.logo img {
  height: 42px;
  width: auto;
}

/* ナビゲーションリンク */
nav a {
  color: #374151; /* 落ち着いたグレー */
  text-decoration: none;
  margin-left: 24px;
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #111827; /* 濃いグレー */
}

/* ============================
   ヒーローセクション（白 × 薄いグレー）
   ============================ */
.hero {
  padding: 100px 40px 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 24px;
}

/* ============================
   ボタン（シンプルな黒系）
   ============================ */
.btn-primary {
  background-color: #111827;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #000000;
}

.btn-outline {
  border: 1px solid #6b7280;
  color: #374151;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: #e5e7eb;
}

/* ============================
   ヒーローカード（白カード + 影）
   ============================ */
.hero-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  max-width: 340px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  color: #111827;
}

.hero-card p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

/* ============================
   FEATURE セクション（Lumisys トーン）
   ============================ */
.feature-section {
  padding: 80px 40px;
  background-color: #ffffff; /* 全体と統一した白背景 */
}

/* タイトルエリア */
.feature-section .sec-title {
  text-align: center;
  margin-bottom: 40px;
}

.feature-section .title {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280; /* 落ち着いたグレー */
  letter-spacing: 1px;
}

.feature-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111827; /* ヘッダーと同じ濃いグレー */
  margin-top: 8px;
}

.feature-section p {
  font-size: 15px;
  color: #4b5563; /* サブテキスト用のグレー */
  line-height: 1.7;
}

/* ============================
   FEATURE カード（共通）
   ============================ */
.feature-box {
  background-color: #ffffff;
  border: 1px solid #e5e7eb; /* 薄いグレーの境界線 */
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04); /* 控えめな影 */
  transition: 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* 横並びレイアウト用（必要なら .feature-box.horizontal をHTMLに付与） */
.feature-box.horizontal {
  display: flex;                 /* 画像とテキストを横並びにする */
  align-items: center;           /* 縦位置を中央揃え */
  gap: 24px;                     /* 画像とテキストの間隔 */
  text-align: left;              /* テキストを左揃え */
  padding: 28px 32px;
}

/* 画像（共通） */
.feature-box img {
  width: 100%;
  max-width: 240px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* 横並び時の画像（左固定） */
.feature-box.horizontal img {
  width: 120px;
  height: auto;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* テキストエリア（右側） */
.feature-text h5 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.feature-text p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
}

/* ============================
   FEATURE 右側カードの位置調整
   ============================ */
.feature-offset img {
  margin-top: 10px; /* 画像を少し下げる */
}

.feature-offset h5,
.feature-offset p {
  margin-top: 20px; /* テキスト開始位置を調整 */
}

/* ============================
   FEATURE レイアウト（PC 基本 2カラム）
   ============================ */
.feature-row {
  display: flex;              /* 横並び */
  flex-wrap: wrap;            /* 画面が狭いと折り返し */
  gap: 32px;                  /* カード間の余白 */
  justify-content: center;    /* 中央揃え */
}

.feature-col {
  flex: 0 0 calc(50% - 32px); /* 2カラム */
  max-width: calc(50% - 32px);
}

/* ============================
   Tablet（768px〜1024px）
   ============================ */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 30px 60px;
  }

  .feature-section {
    padding: 60px 30px;
  }

  .feature-col {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .feature-box {
    padding: 28px;
  }

  .feature-box img {
    max-width: 200px;
  }
}

/* ============================
   Mobile（〜768px）
   ============================ */
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }

  .hero {
    padding: 60px 20px 40px;
    flex-direction: column;
    gap: 24px;
  }

  .feature-section {
    padding: 40px 20px;
  }

  .feature-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .feature-box {
    padding: 20px;
    text-align: center;
  }

  .feature-box img {
    width: 140px;
    max-width: 70%;
    margin: 0 auto 16px auto;
    display: block;
  }

  /* 横並び指定があって도スマホでは縦に戻す */
  .feature-box.horizontal {
    flex-direction: column;
    text-align: center;
  }

  .feature-box.horizontal img {
    width: 160px;
    margin-bottom: 16px;
  }

  /* 右側カードのオフセットはスマホではリセット */
  .feature-offset img {
    margin-top: 0;
  }

  .feature-offset h5,
  .feature-offset p {
    margin-top: 0;
  }
}

/* ============================
   フッター（背景パターン + ホワイト基調）
   ============================ */
.main-footer {
  position: relative;
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 40px;
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
}

/* 背景パターン */
.footer-pattern {
  position: absolute;
  width: 300px;
  height: 300px;
  opacity: 0.15;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

.pattern-1 {
  top: -40px;
  left: -40px;
  background-image: url("https://synex.co.jp/wp-content/themes/inet/assets/images/background/pattern-12.png");
}

.pattern-2 {
  bottom: -40px;
  right: -40px;
  background-image: url("https://synex.co.jp/wp-content/themes/inet/assets/images/background/pattern-13.png");
}

/* コンテンツエリア */
.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ロゴ */
.footer-logo img {
  height: 70px;
  width: auto;
  margin-bottom: 24px;
}

/* 連絡先リスト */
.footer-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info li {
  margin-bottom: 12px;
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
}

.footer-info strong {
  font-size: 15px;
  color: #111827;
  font-weight: 700;
}

/* 著作権エリア */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  color: #6b7280;
}

/* ============================
   会社概要セクション（メインと統一）
   ============================ */
.company-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 40px;
}

/* カード（メインページと同じデザイン） */
.card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.card p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
}

/* 戻るボタンエリア */
.back-btn-area {
  text-align: center;
  margin-top: 40px;
}

/* ============================
   レスポンシブ（スマホ）
   ============================ */
@media (max-width: 768px) {
  .company-section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 26px;
  }

  .card {
    padding: 24px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.company-table th {
  width: 200px;
  background-color: #f9fafb;
  padding: 16px;
  font-weight: 700;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.company-table td {
  padding: 16px;
  color: #4b5563;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.7;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .company-table th {
    width: 120px;
    padding: 12px;
  }
  .company-table td {
    padding: 12px;
  }
}
.map-container {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
